$::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
In reply to Re: syntax/operator question
by Zaxo
in thread syntax/operator question
by rtremaine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |