and eliminate the intermediate file. Actually, more likely to reduce the odds I will ship code with the debug blocks still enabled :)perl -e 's/^#(.*)$/$1/ if /\bDEBUG\b/../\bENDDEBUG\b/' foo.pl | perl
In reply to RE: RE: RE: RE: Easy, elemental, but cool debug trick.
by mikfire
in thread Easy, elemental, but cool debug trick.
by jjhorner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |