Next | Tricks of the Wizards | 23 |
Everyone seems to know that Perl 6 won't have globs
(Even people who don't know what globs are)
In Perl 5, globs are essential to exporting
How will exportation be handled in Perl 6?
Exportation is an aliasing operation
Perl 6 has an explicit aliasing operator :=
$new := $old; @new := @old; %new := %old;
@new := $oldref; %new := $oldref;
These will work even if new is a lexical variable
Next | Copyright © 2003 M. J. Dominus |