On Sun, 2003-01-19 at 23:32, David Banning wrote: > I got the error running a perl script; > > Can't locate Getopt/Simple.pm in @INC (@INC contains: >/usr/local/lib/perl5/site_perl/5.005/i386-freebsd >/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach >/usr/libdata/perl/5.00503) at ./adddir.pl line 28. > BEGIN failed--compilation aborted at ./adddir.pl line 28. > > su-2.03# locate Simple.pm > /usr/local/lib/perl5/site_perl/5.005/LWP/Simple.pm > > Where is the @INC alluded to in the error message and how would > I go about adding the real location of the file it is seeking?
Usually scripts use Getopt::Std or Getopt::Long for command line option parsing. However, there is a third party Getopt::Simple: http://search.cpan.org/author/RSAVAGE/Getopt-Simple-1.45/Simple.pm There doesn't appear to be a port of this module to FreeBSD, however. You'd have to download and build the module. Joe > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc
signature.asc
Description: This is a digitally signed message part