in reply to syntax/operator question
$::foo always refers to $main::foo, while $foo is the package variable $Namespace::foo for whatever your current namespace is. They may be identical, but not always.
Perl always sees a variable name containing '::' as a fully qualified name.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: syntax/operator question
by ysth (Canon) on Oct 05, 2004 at 08:05 UTC |