[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl modules ?



On Fri, Nov 16, 2001 at 07:47:55PM +0000, Irvine Russell wrote:
> Hello all.
> 
> I wanted to use a small script that I found on the 
> internet, and it says that I would need to have 
> the following modules inorder for it to run:
> 
> Net::Telnet; 
> Mail::Sendmail; 
> Getopt::Std; 
> Text::CSV_XS; 

A quick way would be trying to load these modules with a command-line
invocation. 

[msoulier@tigger msoulier]$ perl -MNet::Telnet -e 'print "yes\n"'
yes

So I have Net::Telnet. However, I don't have Text::CSV_XS...

[msoulier@tigger msoulier]$ perl -MText::CSV_XS -e 'print "yes\n"'
Can't locate Text/CSV_XS.pm in @INC (@INC contains:
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl /usr/lib/perl5/5.6 /usr/lib/perl5/5.005 .).
BEGIN failed--compilation aborted.

Any modules packaged in Debian follow lib-<name>-perl. If it's not
packaged, you can find the modules on the CPAN.

http://www.perl.com/CPAN-local/modules/index.html

Mike

-- 
Michael P. Soulier <michael.soulier@home.com>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix

Attachment: pgpmc8jbhMj4u.pgp
Description: PGP signature


Reply to: