Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion A12: Exporation
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aaron Sherman  
View profile  
 More options Apr 25 2004, 12:15 pm
Newsgroups: perl.perl6.language
From: a...@ajs.com (Aaron Sherman)
Date: Sun, 25 Apr 2004 12:15:13 -0400
Local: Sun, Apr 25 2004 12:15 pm
Subject: Re: A12: Exporation

On Fri, 2004-04-23 at 20:51, Larry Wall wrote:
> On Sat, Apr 24, 2004 at 09:52:12AM +1000, Damian Conway wrote:
> : My proposal for that issue is just:
> :
> :  module Bar;
> :
> :  use Foo «foo»;
> :
> :  sub foo is export {...}

> That's on the right track, but has some difficulties, insofar as it's
> not clear that the intent is to redefine "foo" retroactively rather
> than actively.  And it doesn't necessarily work for variables

Hmmm... it seems to me that:

        use Foo;
        our $bar is export := $Foo::bar;

should solve that, no? Now I just want a tied array called @EXPORT that
acts as a macro, adding "is export" to the symbols I put into it ;-)

Seriously, I did kind of like the code-as-documentation pseudo-feature
of seeing all of the exported symbols listed up-front in a module. It's
too  bad Perl 6 will lack that.

--
Aaron Sherman <a...@ajs.com>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback

  signature.asc
< 1K Download

 
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.