Well, there are many ways to deal with commandline options in Perl. Three of them are:
- Use the -s switch on your #! line (see perlrun)
- Use the standard Getopt::Std module.
- Use the standard Getopt::Long module.
_____________________________________________________
Jeff
[japhy]Pinyan:
Perl,
regex,
and
perl
hacker, who'd like a
job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;