Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This will allways call the Debug() sub. The overhead may or may not be a problem in your production systems, it all depends on how many times this call is executed.
The above should require less overhead. I've even read somewhere that Perl optimizes this so that the $debug&& doesn't have to evaluated, but unfortunately I can't find back the reference to that text. :-( Maybe some of the well educated Monks may chime in about that? If there is no reason to change the value of $debug during execution, the following should be even smarter(?):
f--k the world!!!! /dev/world has reached maximal mount count, check forced. In reply to Re: Re: Re: Am I missing something here?
by Biker
|
|