in reply to
Re: debug statements
in thread
debug statements
I have to say I really like this; I've been using Perl for a while but hadn't thought about optimising debug statements away at compile time using this trick. Thanks!
Comment on
Re^2: debug statements
Replies are listed 'Best First'.
Re^3: debug statements
by
djp
(Hermit)
on Oct 05, 2006 at 23:45 UTC
Well it's not really optimizing debug statements away at compile time, it's optionally compiling them in at compile time. Same difference I suppose.
[reply]
In Section
Seekers of Perl Wisdom