Bleargh!
- Don't get the impression that Pugs is a pile of mud because of this "feature"
- To do it right, we'd need to support lexical import, which is a new feature in Perl 6
- A deliberate makeshift that let us act as users of Perl would before we had that much of perl available
- Good enough in many cases
- for example, writing 8,000 tests for other things!
- But the fact that it don't work don't mean it don't need no fixing
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).