At the end of A12, "Exportation" covered the idea that you will now say:

        sub foo() is export {...}

Rather than the P5:

        @EXPORT=qw(foo);
        sub foo;

Which is fine, except that in P5 we could say:

        use Foo qw(foo);
        @EXPORT=qw(foo);

Now, I know that the Apoc on modules has not been written, and by that
time Larry will have thought of this, but I thought I'd point out that
some mechanism will have to exist in modules to indicate not only that
they acquire certain subroutines, variables, etc. of other modules, but
that they re-export them as their own.

I'm deliberately NOT proposing how that would be done, as I have
significant faith that Larry can manage that small bit of magic on his
own, and doesn't need me spewing random ideas and, even worse, syntax
suggestions.

-- 
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback


Reply via email to