Or do something along the lines of this near the beginning of your code:
BEGIN { $__KLUDGE::phase = 'BEGIN'; } INIT { $__KLUDGE::phase = 'INIT'; } CHECK { $__KLUDGE::phase = 'CHECK'; } END { $__KLUDGE::phase = 'END'; }
And then check $__KLUDGE::phase as necessary.
In reply to Re^2: Which phase am I in?
by Fletch
in thread Which phase am I in?
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |