There's more than one way to do things | |
PerlMonks |
Re^2: Perl odditiesby TimToady (Parson) |
on Mar 01, 2005 at 21:41 UTC ( [id://435627]=note: print w/replies, xml ) | Need Help?? |
In Perl 6, :: behaves more like you expect, and is no longer automatically associated with either package main or any other top-level package. Class names are searched for starting in the current package, so
$::foo would be a variable in the current package if declared there.
In Section
Meditations
|
|