Looks like consequences of dynamic scoping, see Perl::Critic::Policy::ValuesAndExpressions::UndefinedBehaviourMaybeQuoteit / $1 not quoted (value not frozen) undefined behaviour and quote the match vars
In reply to Re: Unexpected matching results (dynamic scope "$1")
by Anonymous Monk
in thread Unexpected matching results
by hdb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |