in reply to Re: Getopt::Std and simple options
in thread Getopt::Std and simple options

The redirect is intentional, I included it in the example call in case that was affecting the outcome.

I am trying to set a verbose flag '-v' with no value; that's what I meant by "simple options". The real answer was to use getopts() rather than getopt(). The code matched the output: only the script name was changed to protect the innocent. :^)

Thanks for helping anyway.

~Diz