ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: sub my_zip (...?) {}
by Luke Palmer other posts by this author
Jun 16 2005 3:28PM messages near this date
Re: sub my_zip (...?) {} | Re: sub my_zip (...?) {}
On 6/16/05, Larry Wall <larry@[...].org>  wrote:
>  Or maybe a splat
>  
>      @foo[*]
>  
>  Or go with the parens with something in them to indicate the positive
>  absence of something.
>  
>      @foo[(*)]
>  
>  Anyone else want to have a go at this bikeshed?

You know, before I read this part of the message, I was thinking
precisely that.  Nullary splat should do it, so that @foo[*] will
work.  Unary splat would of course get our favor if it can be
interpreted that way, but in cases like:

    @foo[*]
    bar(*)

It is unambiguous, and you can always say (*) to disambiguate.  I like
the look of that too.

Luke
Thread:
Autrijus Tang
Larry Wall
Smylers
Gaal Yahas
Larry Wall
Dave Whipp
Larry Wall
Luke Palmer
Larry Wall

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved