On Fri, Nov 16, 2001 at 05:44:24PM -0500, Michael P. Soulier wrote: > 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. > > [EMAIL PROTECTED] msoulier]$ perl -MNet::Telnet -e 'print "yes\n"' > yes > > So I have Net::Telnet. However, I don't have Text::CSV_XS... > > [EMAIL PROTECTED] 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
Or use the CPAN module to download, build, test, install these packages. The interface leaves a little to be desired, but it does have some dependency checking. Start with $ perl -MCPAN -e "shell" to configure default behaviour and what servers to use. Once that's finished, "install Text::CSV_XS" from the cpan prompt.
pgp6hVXOSmb4w.pgp
Description: PGP signature