Date: 19 Jan 2003 23:46:51 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: David Banning <david@skytracker.ca> Cc: questions@FreeBSD.ORG Subject: Re: perl question about @INC Message-ID: <1043038010.14743.41.camel@shumai.marcuscom.com> In-Reply-To: <20030119233225.A65201@skytrackercanada.com> References: <20030119233225.A65201@skytrackercanada.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+K386b2iPiv4Uz4cRAnZRAJ42kVm+j3+smjlZmpDeo8wr/hWrtACePxXB 6jqvhLhaRMP1QJvffYJ2jWs= =/KTu -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1043038010.14743.41.camel>
