'my' declares a variable within the 'current scope' - if that's in a sub (or any pair of braces),it's gone when you exit the sub. If, on the other hand, it's in the 'main body' of your code, it's global. That is generally a Bad Thing.That makes it sound like using "my" at global scope is a Bad Thing. Shurely not?
In reply to Re^4: Tk question
by PhilHibbs
in thread Tk question
by perl_seeker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |