Otherwise, you'll have to wrap your @ARGV processing in a BEGIN {} block so it will run at compile time. That's when (and how) use statements run.use constant DEBUGGING => $ENV{DEBUGGING} || 0;
In reply to Re: change 'use constant' value through commandline arguments?
by chromatic
in thread change 'use constant' value through commandline arguments?
by neuroball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |