Change this to
and the prints will even be optimized away so Perl will not waste time testing the value of $DEBUG at runtime.sub DEBUG () {1} ... print Dumper(\%x) if DEBUG;
Jenda
| XML sucks. Badly. SOAP on the other hand is the most powerfull vacuum pump ever invented. |
In reply to Re^2: debugging - straw poll ...
by Jenda
in thread debugging - straw poll ...
by danmcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |