in reply to Re: (tye)Re: change 'use constant' value through commandline arguments?
in thread change 'use constant' value through commandline arguments?
use Getopt::Long;
GetOptions("debug" => \$debug_switch);
or even
use Getopt::Long;
GetOptions("debug+" => \$debug_switch);
which allows several levels of debugging.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Rex3: (tye) change 'use constant' value through commandline arguments?
by neuroball (Pilgrim) on Mar 15, 2002 at 18:52 UTC |