No such thing as a small change | |
PerlMonks |
Re^4: Defining a sub within a sub: OK?by AnomalousMonk (Archbishop) |
on Oct 14, 2009 at 22:50 UTC ( [id://801234]=note: print w/replies, xml ) | Need Help?? |
What I meant by 'globally scoped' was 'accessible from any point of execution within the program', and package variables do fit this definition.
I agree with jwkrahn's point about the 'code block' (as defined in the referenced discussion of blocks). What I thought was meant was a 'code block' of the sort associated with sort and other such built-ins, e.g., (Hang on, I may be experiencing a 'lobe block' ... )
In Section
Seekers of Perl Wisdom
|
|