Newsgroups: perl.perl6.language
From: dam...@conway.org (Damian Conway)
Date: Sat, 24 Apr 2004 09:52:12 +1000
Local: Fri, Apr 23 2004 7:52 pm
Subject: Re: A12: Exporation
Aaron Sherman wrote: My proposal for that issue is just: > 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); > Which is fine, except that in P5 we could say: > use Foo qw(foo); > Now, I know that the Apoc on modules has not been written, and by that module Bar; use Foo «foo»; sub foo is export {...} This works perfectly in Perl 5 under the Perl6::Export module (now on the CPAN): package Bar; use Foo qw(foo); sub foo is export; Damian You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||