That's why I tend to favor 'n' over 's'. However, when I debug code that contains
I still step through the DEBUG subroutine. Which is what I would expect while debugging. Try:sub DEBUG () { 0 }
perl -de 'use constant DEBUG =>0; use O qw( Concise -exec); print "toto" if DEBUG; print "toto" if DEBUG'
perl -de 'sub DEBUG() { 0 }; use O qw( Concise -exec); print "toto" if DEBUG; print "toto" if DEBUG'
-derby
In reply to Re: Re: Re: inlined DEBUG constant versus $DEBUG
by derby
in thread inlined DEBUG constant versus $DEBUG
by stefp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |