P is for Practical | |
PerlMonks |
Re: Cannot find the errorby Athanasius (Archbishop) |
on Apr 03, 2020 at 14:23 UTC ( [id://11114996]=note: print w/replies, xml ) | Need Help?? |
Hello gudmo,
A better way to do this is with the constant pragma, which plays well with strict and still gives you the benefits of conditional compilation:
Update: Fixed typo: missing constant in the definition of DEBUG (!) Thanks, pryrt. Hope that’s of interest,
In Section
Seekers of Perl Wisdom
|
|