This won't help in your case, but fwiw, Perl::Critic catches this.
In reply to Re^3: Paranormal leakage of previous value from conditionally set lexical variable
by stevieb
in thread Paranormal leakage of previous value from conditionally set lexical variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |