(I can't find anything about not nesting subroutines)
See http://perldoc.perl.org/perlref.html#Function-Templates and read the three paragraphs where the first starts "Access to lexicals that change over time...".
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
Apart from the experimental lexical subs introduced with 5.18, any named function created with sub (even those that are nested in an inner scope) become part of a package's namespace, so you can't avoid namesapce pollution in this way. | [reply] |