
FishMonger
Veteran
May 8, 2009, 5:34 PM
Views: 1351
|
|
Re: [Stormdev] Why does my array appear to be out of scope?
|
|
|
You want to declare vars with "our" only when you need to create global vars, which is not very often. 99.8% of the time you should use "my" to create lexical vars even when they're outside of subs. You'll need to post your code so I can see why you're having this issue.
(This post was edited by FishMonger on May 8, 2009, 5:35 PM)
|