Outaspace has asked for the wisdom of the Perl Monks concerning the following question:
package Test; use constant DEBUG => 0;# There is also one in the main package, for t +urning all on sub new { print "Test->new(@_)" if (DEBUG || main::DEBUG); ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use constant and the Perl Optimizer
by ikegami (Patriarch) on Sep 19, 2006 at 16:55 UTC | |
|
Re: use constant and the Perl Optimizer
by mreece (Friar) on Sep 19, 2006 at 17:41 UTC |