That would be one way. Alternatively, if you know you already have List/MoreUtils.pm somewhere on your system, you could simply add its location to @INC in the script itself (as, say, the first line). You have to decide for yourself which approach is the more portable in your situation...
Kim Helliwell LSI Logic, Inc 408 433 8475 [EMAIL PROTECTED] -----Original Message----- From: Sayed, Irfan (Irfan) [mailto:[EMAIL PROTECTED] Sent: Friday, February 09, 2007 9:00 AM To: beginners@perl.org Subject: error in execution Hi All, I am getting following error while executing perl script ~/irf>perl lsco.pl Can't locate List/MoreUtils.pm in @INC (@INC contains: /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at lsco.pl line 7. BEGIN failed--compilation aborted at lsco.pl line 7. Do i need to download List/MoreUtils.pm and copy into the /usr/perl5/5.8.4/lib/sun4-solaris-64int path. Please help Regards Irfan. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/