Chas. Owens wrote:
2. package variables are always visible when fully qualified (i.e. $PKGNAME::varname), but the short name is only visible to the scope that contained the our statement and any nested scopes
For example:
{ package Data::Dumper; our ($Indent, $Sortkeys, $Terse) = (1)x3 }
--
Ruud
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
