I don't have much to say myself, because others have done so before me:
You might want to peruse Super Search next time before posting a question like this… :-)
Also, I'd advise against using a hash with Getopt::Long. It looks tidier, but you lose the advantage of strictures — the only clue that you misspelt a hash key is odd behaviour from the script. Instead, use my variables (and declare them in-place, as per above link), and use strict, so that Perl will find your typos for you.
Makeshifts last the longest.
In reply to Re: Getopt::Long good style?
by Aristotle
in thread Getopt::Long good style?
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |