RE: Help with options

2004-01-28 Thread Tim
I realize there's no 'help' in this one, but maybe this will get you on your way...(it's a bit of a kluge; I had to check it twice) Here's one with GetOpt::Std : ## use Getopt::Std; my @ARGS; my %opts; eval { getopts('o:L', \%opts) or die "Usage: $0 -o [ mail || fi

RE: Help with options

2004-01-28 Thread Dan Muey
> Hi, > > I have a script that command options are taken and would like > to know how print out the options when the options are > missing from the command line. Or how to do a -h to print out > the options. > There are module sto help you process switches and what not. For really simple stuf

RE: Help with options

2004-01-28 Thread Paul Kraus
Getopt::long http://search.cpan.org/~jv/Getopt-Long-2.34/lib/Getopt/Long.pm Paul Kraus --- PEL Supply Company Network Administrator > -Original Message- > From: Thomas Browner [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, January 27,