|Don't ask to ask, just ask|
Question of scopeby Popcorn Dave (Abbot)
|on May 06, 2002 at 19:04 UTC||Need Help??|
Popcorn Dave has asked for the
wisdom of the Perl Monks concerning the following question:
I've got the following bit of code that is losing the contents of a global array upon it's exit.
Now it's my ascertion, that since @coords was previously defined as a global, I should be able to keep the information in it without having to return it, correct? The values in @coords should not be clobbered as they're not declared as locals in this subroutine.
Is this one of those I'm gonna kick myself when I get an answer things that I'm just obtusely overlooking?