in reply to Vexing views of variables

FWIW: similar behavior on CentOS 5.3: v5.8.8 has the bug and v5.10.0 does not.

perl590delta says:

There have been many fixes in the area of anonymous subs, lexicals and closures. Although this means that Perl is now more "correct", it is possible that some existing code will break that happens to rely on the faulty behaviour. In practice this is unlikely unless your code contains a very complex nesting of anonymous subs, evals and lexicals.

Replies are listed 'Best First'.
Re^2: Vexing views of variables
by JadeNB (Chaplain) on Aug 07, 2009 at 19:33 UTC
    Thanks, that seems to cover it! (Sorry, I was too lazy to grep through deltas myself (not least because I didn't know for what to search (and I wonder who (not me!) would ever have thought that I might run into trouble with excessive nesting?)).)