in reply to Getopt::Long good style?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getopt::Long good style?
by Skeeve (Parson) on Jul 28, 2004 at 18:12 UTC | |
by Anonymous Monk on Jul 28, 2004 at 20:17 UTC |