On Jul 9, saliminl said:

>The problem is, I have no clue what is on these systems (modules) and I have 
>no permissions to install outside of my home directory.  I'm a lowly terminal 
>boy :-( but this program will be used network wide, so maybe I should talk to 
>the Network Admin.  Of course, I can do anything I want on my Win 2K machine, 
>but the other programs won't run on it...ugh.

The Getopt::Std and Getopt::Long modules are standard -- they're already
there.

You can, however, roll your own, if you'd like.  Or use the -s switch to
Perl:

  #!/usr/bin/perl -s

  # call this 'options.pl'

  use strict;
  use vars qw( $foo $bar $x $y );

  print "$foo; $bar; $x; $y\n";

Then run:

  % ./options.pl -foo=hi -bar -x=10 -y=-20


-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
**      Manning Publications, Co, is publishing my Perl Regex book      **

Reply via email to