A Peek into Pugs Internals #11


The way import works in Perl 6 is actually much more clever than Perl 5; you can say `{ use MyMod }` and not see the the effect of the use outside the braces. This is known as lexical import (or export -- depending on whose perspective you take).
Copyright © 2006 Gaal Yahas