Subject: | Capture variable used outside conditional (Wrong) |
Hi,
If you run PAR.pm through Perl::Critic, you get:
Capture variable used outside conditional at line 555, column 18. See
page 253 of PBP. Severity: 3
0555: CORE::exit($1) if ($@ =~/^_TK_EXIT_\((\d+)\)/);
Now, the $1 is *not* used outside a conditional.
Keep up the good work!
Steffen
P.S.: I used the online-validator at perlcritic.com. I suppose it's
version 1.01.