in reply to Re^4: Unforgettable Closures? (shave)
in thread Unforgettable Closures?

I meant new version of Perl for which the man page for perlsyn mentions the "my" strangeness.

The warning has been in perlsyn since 5.8.1.

I've not got anything newer than Perl 5.8.8, and grepping perlsyn for the said gotcha finds nothing,

It's there. Look at "NOTE:" at the end of the "Statement Modifiers" section.

Replies are listed 'Best First'.
Re^6: Unforgettable Closures? (shave)
by faiz (Acolyte) on Dec 10, 2007 at 07:27 UTC
    It's there. Look at "NOTE:" at the end of the "Statement Modifiers" section.
    Whoops, my bad. I'd been grepping for 'behavior' instead of 'behaviour' ... ;-). It's there indeed. Many apologies!