Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: MySQL.pm and PERL5LIB

by atcroft (Abbot)
on Jan 16, 2014 at 21:58 UTC ( [id://1070853]=note: print w/replies, xml ) Need Help??


in reply to MySQL.pm and PERL5LIB

(Hint: <code></code> tags will help with post readability when posting code or error messages.)

It looks like you do not have Moose installed. Either look for a .rpm package (using yum search Moose or your favorite package manager), or look at installing via CPAN (perl -MCPAN -e 'install Moose'). Being a CentOS (RedHat-derivative), I would suggest looking for an RPM package first.

If you want a "clean" perl environment, you can look at installing perlbrew.

Hope that helps.

Replies are listed 'Best First'.
Re^2: MySQL.pm and PERL5LIB
by Hammer2001 (Novice) on Jan 16, 2014 at 22:28 UTC

    Thank you, atcroft for the guidance. Moose is not available as a yum package or an RPM. I have done install and force install of Moose multiple times. The errors alternate between Moose.pm and MySQL.pm. Will look into perlbrew and let you know if it gets me out of the Perlhole I am in. Thanks, Hamid.

      The errors alternate between Moose.pm and MySQL.pm.

      You might be overwriting PERL5LIB when you should be adding to it? What's the full path to Moose.pm?

        Thanks everyone for the help.

        I ended moving code to a different server which appears to be healthy after banging my head against perlbrew for a while.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1070853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (11)
As of 2024-04-19 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found