CPAN::Forum
WWW-Mechanize - Re: How to download Mechanize???
| Posted on Fri Dec 22 07:43:21 2006 by petdance in response to 3875 (See the whole thread of 2) |
| Re: How to download Mechanize??? |
|
Read the Perl FAQ:
$ perldoc -q install
The easiest way is to have a module also named CPAN do it for you.
This module comes with perl version 5.004 and later.
$ perl -MCPAN -eshell
cpan shell -- CPAN exploration and modules installation (v1.59_54)
ReadLine support enabled
cpan> install Some::Module
To manually install the CPAN module, or any well-behaved CPAN module
for that matter, follow these steps:
1 Unpack the source into a temporary area.
2 perl Makefile.PL
3 make
4 make test
5 make install
If your version of perl is compiled without dynamic loading, then you
just need to replace step 3 (make) with make perl and you will get a
new perl binary with your extension linked in.
Please note that using Mech isn't going to be easy for a beginner to Perl. You should definitely read up some more about using modules.
|
| Write a response |
(14)
]