develooper Front page | perl.perl6.language | Postings from April 2010

Re: r30205 - docs/Perl6/Spec

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
April 2, 2010 08:01
Subject:
Re: r30205 - docs/Perl6/Spec
Message ID:
20100402145955.GF13645@klangraum.plasmasturm.org
* Leon Timmermans <fawaka@gmail.com> [2010-03-27 09:40]:
> On Sat, Mar 27, 2010 at 2:01 AM, Geoffrey Broadwell <geoff@broadwell.org> wrote:
> >On Fri, 2010-03-26 at 08:38 +0100, pugs-commits@feather.perl6.nl wrote:
> >>     .doit: { $^a <=> $^b }              # okay
> >>     .doit(): { $^a <=> $^b }            # okay
> >>     .doit(1,2,3): { $^a <=> $^b }       # okay
> >>+    .doit(1,2,3): { $^a <=> $^b }       # okay
> >
> >>+    .doit:{ $^a <=> $^b }              # okay
> >>+    .doit():{ $^a <=> $^b }            # okay
> >>+    .doit(1,2,3):{ $^a <=> $^b }       # okay
> >>+    .doit(1,2,3):{ $^a <=> $^b }       # okay
> >
> >My eyes must be playing tricks on me -- I can't see the
> >difference between the last two lines in each of the above
> >blocks.  What am I missing?
> >
> A space between the colon and the opening brace ;-)

He is saying he can’t see how these differ from each other:

     .doit(1,2,3): { $^a <=> $^b }       # okay
+    .doit(1,2,3): { $^a <=> $^b }       # okay

Or how these two differ from each other:

+    .doit(1,2,3):{ $^a <=> $^b }       # okay
+    .doit(1,2,3):{ $^a <=> $^b }       # okay

(Neither can I.)

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

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