Now is there any way this behaviour be altered in such a way that
1) By default all the variables have local scope (no need of my()).
2) We should be able to use a keyword (say global()) to declare a variable having global scope() ?
I have seen Perl to be a flexible language with everything else, so I expect there must be some way to do this too. But which?
In reply to Default Scope Behaviour by NeoPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |