Might be the reason for the 5.8/5.10 behavior difference: http://perldoc.perl.org/perl590delta.html#Closures%2c-eval-and-lexicals
Might be the reason for the 5.8/5.10 behavior difference: http:// perldoc. perl.org/ perl590delta. html#Closures% 2c-eval- and-lexicals