Perl's GetOpt::Std -- Where is it?
Garrett Cooper
youshi10 at u.washington.edu
Sat Oct 14 01:49:43 PDT 2006
-----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 at 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 at 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-----
More information about the freebsd-questions
mailing list