develooper Front page | perl.perl6.language | Postings from February 2002

Re: Pondering topicalizers and defaulting constructs

Thread Previous | Thread Next
From:
Allison Randal
Date:
February 25, 2002 14:59
Subject:
Re: Pondering topicalizers and defaulting constructs
Message ID:
20020225225906.GD29061@shadowed.net
On Mon, Feb 25, 2002 at 04:25:29PM -0600, Allison Randal wrote:
> On Mon, Feb 25, 2002 at 12:35:29PM -0800, Larry Wall wrote:
> > Austin_Hastings@yahoo.com writes:
> > 
> > : What would the default-variable scheme do in this context? 
> > 
> > That's a problem.  But a more basic problem is, what would a C<when> do?
> 
> My guess was that it would behave as if handed a list. 

Another possibility would be to say that although you can alias multiple
variables, only the first is the topic. There's precedence for this in
the topicalization behaviour of bare closures and methods. Hmmm...


Allison

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About