use Getopt::Long;
GetOptions("debug" => \$debug_switch);
or even
use Getopt::Long;
GetOptions("debug+" => \$debug_switch);
which allows several levels of debugging.
In reply to Rex3: (tye) change 'use constant' value through commandline arguments?
by Sweeper
in thread change 'use constant' value through commandline arguments?
by neuroball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |