Re: Getopts and ARGV

2001-07-30 Thread Paul
--- Bob Bondi <[EMAIL PROTECTED]> wrote: > I had wanted to keep all the declarations in a section and the subs > in a section and the main script at the bottom, but, I find I must add > code in the declaration section! I like to keep "sections" too, though the parser doesn't care so much. Try th

Getopts and ARGV

2001-07-30 Thread Bob Bondi
I've been trying to figure out how to give help with a -h opt flag and use the Getopt::Std within the same script. I've tried several ways to make this happen, and stumbled on an answer. I've discovered that use Getopt::Std will not allow me to use @ARGV beyond the point I have typed Getopt::Std