Without using a text preprocessor or waiting for Perl 6's lazy evaluation, I don't see an easy way to turn off checking by throwing a switch. The switch would be present in each statement: if ($debug && expensive_sanity_check(x)) ...Use a constant:
|
MeowChow s aamecha.s a..a\u$&owag.print
In reply to (MeowChow) Re2: Pre and Post Condition
by MeowChow
in thread Pre and Post Condition
by E-Bitch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |