Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

add WWW::Mechanize module to linux

by jithoosin (Scribe)
on Nov 08, 2005 at 07:17 UTC ( #506631=perlquestion: print w/replies, xml ) Need Help??

jithoosin has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

I have downloaded WWW-Mechanize-1.16.tar.gz as i donot have Mechanize module in my linux box. How do i add it to perl so that i can use Mechanize module in my programs.

And one more thing , could you help me where to find good documentation on this WWW::Mechanize module.I have already got "http://search.cpan.org/~petdance/WWW-Mechanize-1.12/lib/WWW/Mechanize.pm" document. I need a bit more good document so that a novice like me can learn programming with Mechanize module.

Replies are listed 'Best First'.
Re: add WWW::Mechanize module to linux
by planetscape (Chancellor) on Nov 08, 2005 at 08:24 UTC
Re: add WWW::Mechanize module to linux
by spiritway (Vicar) on Nov 08, 2005 at 08:21 UTC

    Put the file into a safe location (meaning, it won't clobber other files). You can get your files out with a single conmmand: tar -zxvf your-module.tar.gz. Once you have extracted all the files, etc., you need to creat the make file. This process is ususally automate. First you run the Makefile.PL script. This will create a makefile that should fit your system.

    Find the makefile, and cd to that directory if necessary. The type 'make'. If all goes well, you should see this on your screen. Now type 'make install'. If your Perl lives in a directory you can't write to, you'll have to swith to root to get 'make install' to work. I'm told that you can install modules into your own directoy, but I've never managed to do this.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2023-02-06 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (33 votes). Check out past polls.

    Notices?