peterr has asked for the wisdom of the Perl Monks concerning the following question:
I'm using ActiveState Active Perl 5.8.0.806 on a Win32 box, and trying to run this
#C:\Perl\bin\Perl.exe -w use strict; use IO::File; use Data::Dumper; use Mail::Box; use Mail::Box::Manager; # Load mail list my $MailList = load_mail_list('./list25B6.txt'); print Dumper($MailList); # etc,etc
and I'm getting this message
D:\temp\myscripts>perl chkemail.pl Can't locate Mail/Box.pm in @INC (@INC contains: D:/Perl/lib D:/Perl/s +ite/lib .) at chkemail.pl line 5. BEGIN failed--compilation aborted at chkemail.pl line 5.
Obviously the module Mail::Box needs to be installed, but as you can see by this node, I'm not only a newbie to Perl, but even after reading the suggested - A Guide to installing modules , and digesting what I can, I now at a loss as to which method I _should_ use to install the module ???
Do I use ?
1. perl -MCPAN -e "shell"
2. Download Box.Pm from the authors site and place that in a folder called \Mail\Box
3. Download the complete 'tar.gz' file for module Mail::Box from the authors site (or CPAN), uncompress it and try and install it
4. Run PPM
5. CPAN Site ?
6 Some other method ??
Thanks, :)
Peter
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Which method do I use to install a module ?
by davido (Cardinal) on Nov 12, 2003 at 10:23 UTC | |
by peterr (Scribe) on Nov 12, 2003 at 11:22 UTC | |
by davido (Cardinal) on Nov 12, 2003 at 11:36 UTC | |
by peterr (Scribe) on Nov 13, 2003 at 02:16 UTC | |
by davido (Cardinal) on Nov 13, 2003 at 03:59 UTC | |
| |
|
Re: Which method do I use to install a module ?
by peterr (Scribe) on Nov 13, 2003 at 04:47 UTC |