in reply to Re: Length of first captured match
in thread Length of first captured match

NetWallah,
This is a bad suggestion. Using a lexical declaration with a conditional provides undefined behavior and its use is discouraged. See perlsyn, 'my' with 'if 0' retains old value, and Re: Announcing Perl-Critic-0.14 for details.

Cheers - L~R