tags:

views:

90

answers:

2

I am trying to install the mysqlslurp utility found in MySQL::Slurp.

I found that it requires Moose and therefore I installed that package too.

But I am still not able to use the mysqlslurp command. I get an error:

Can't locate Moose.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi 
.....

BEGIN failed--compilation aborted at /usr/bin/mysqlslurp line 4.
+1  A: 

It sounds like Moose isn't installed in Perl's include path. You might need to specify the path using use lib - see this article for how.

Ian Gregory
+2  A: 

If you install your modules with CPAN.pm, you don't have to handle the dependencies yourself:

 % cpan MySQL::Slurp

How did you install your modules? Where did you install them?

brian d foy