Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Installation of WWW::Mechanize Again

by Corion (Patriarch)
on Sep 08, 2010 at 07:45 UTC ( [id://859284]=note: print w/replies, xml ) Need Help??


in reply to Installation of WWW::Mechanize Again

If you're using the (Ubuntu) stock Perl interpreter, you want to install Perl modules through apt-get (or whatever other package tool is en vogue on Ubuntu currently). The package is libwww-mechanize-perl.

Don't install modules into the system Perl. Always use the system package manager. If you want to use cpan to install (more current) versions from CPAN, compile and install your own Perl or use local::lib. Neither is hard.

Replies are listed 'Best First'.
Re^2: Installation of WWW::Mechanize Again
by Utilitarian (Vicar) on Sep 08, 2010 at 08:26 UTC
    Echoing Corion's advice.

    On a Debian based system you should

    • apt-cache search $Package::Name to find out the name of the package containing the library
    • sudo apt-get install $package_name-from_above
    Taking this approach ensures you don't mangle your system Perl and also has the advantage of installing all dependencies.

    print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-19 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found