The problem may be semantics: When I run the code, i get:
WITH the flag invoked, and no value given to the flag, it results in the default value specified in Getoptions.$ perl test-getopt.pl -Star=32323 -end Start = 32323 and End = 9999999999
I hope life isn't a big joke, because I don't get it.
-SNL
In reply to Re: Getopt::Long with default
by NetWallah
in thread Getopt::Long with default
by Saved
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |