in reply to Re^2: Strictly nested sub warnings
in thread Strictly nested sub warnings

It's one of the documentation pages.

man perldiag perldoc perldiag perl -Mdiagnostics script.pl

perldiag

Nested named subs are not supported by Perl. For starters, the nested sub wouldn't be private. Secondly, you'll get weird errors. (You're notified if the second can happen by "will not stay shared" warnings.)

Replies are listed 'Best First'.
Re^4: Strictly nested sub warnings
by raybies (Chaplain) on Oct 05, 2010 at 17:55 UTC
    Thanks! That -M diagnostic trick is great. --Ray