Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2006 01:48:54 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Perl's GetOpt::Std -- Where is it?
Message-ID:  <4530A476.6090602@u.washington.edu>
In-Reply-To: <8cb6106e0610132251j568bf8e9o224a9927378d98eb@mail.gmail.com>
References:  <453078FB.3030904@u.washington.edu>	 <453079F5.9030104@u.washington.edu> <8cb6106e0610132251j568bf8e9o224a9927378d98eb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Josh Carroll wrote:
> Actually, it looks like you're trying to:
> 
> use GetOpt::Std;
> 
> But it should be:
> 
> use Getopt::Std;
> 
> Note the non-capital o there :)
> 
> Josh
> 
> On 10/13/06, Garrett Cooper <youshi10@u.washington.edu> wrote:
> Garrett Cooper wrote:
>>       I'm trying to make a Perl script with GetOpt::Std, a Perl module
>> that's supposed to exist with the base installation of Perl. Perl
>> reports that it doesn't exist in the @INC path for Perl and I haven't
>> really installed any additional Perl modules (at least to my
> knowledge).
>> Plus, if there is a port or option where I can keep GetOpt::Std up to
>> date, that would be the best way to maintain things.
>>       Any help with this pursuit's much appreciated!
>> -Garrett
> 
> Probably should have included more info:
> 
> Can't locate GetOpt/Std.pm in @INC (@INC contains:
> /usr/local/lib/perl5/5.8.8/BSDPAN
> /usr/local/lib/perl5/site_perl/5.8.8/mach
> /usr/local/lib/perl5/site_perl/5.8.8
> /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl
> /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at
> ./ipf_gen.pl line 7.
> BEGIN failed--compilation aborted at ./ipf_gen.pl line 7.
> [gcooper@hoover ~]$
> 
> -Garrett

Brilliant, that did the trick! Thanks for the help.
- -Garrett

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFMKR26CkrZkzMC68RAg/DAKCLWv8R3He6S9ckSwEB3IeMHe2p1gCaAt5D
Hu57yl5MCg1YX1r3UeYhrS4=
=SX6T
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4530A476.6090602>