Re: [PBML] Scoping Variables
>>>>> "essential" == essential quint <quintessential1@...> writes:essential> Am not sure of how easy this is to answer, but I'm trying
essential> to figure out how to scope my variables. Am just wondering
essential> what characteristics help one to identify a global variable
essential> that must be passed in as a parameter from one that is
essential> locally defined?
Generally, global variable linkage is bad. If you google for
"site:stonehenge.com global", you'll come across a number of magazine
articles where I say that.
You might want to skip directly to my recent article on scoping, at
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!