> our creates a package global in the package where that declaration occurs
our will create a new STASH entry only, iff it doesn't already exist and it will not touch the value.
> local is about aliasing package globals
I can't see any "aliasing" process here, it's still the same underlying package variable.
what do you call an "alias" here when doing local $main::bob; ?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^3: local our?
by LanX
in thread local our?
by gam3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |