go ahead... be a heretic | |
PerlMonks |
Re: (proposed)Scoping tutorialby cephas (Pilgrim) |
on Dec 20, 2000 at 00:11 UTC ( [id://47453]=note: print w/replies, xml ) | Need Help?? |
A couple of suggestions: Introduce the terms lexical and dynamic for the my and local variables. Give examples of why local is useful (ie local $/;) Cover the use of our() inside a subroutine to insure accessing a global when that is what you want. cephas
In Section
Meditations
|
|