develooper Front page | perl.perl6.language | Postings from June 2006

Re: [svn:perl6-synopsis] r9463 - doc/trunk/design/syn

Thread Previous
From:
Stuart Cook
Date:
June 3, 2006 20:26
Subject:
Re: [svn:perl6-synopsis] r9463 - doc/trunk/design/syn
Message ID:
49b351060606032025r7f98e02bh99c399aa175760cd@mail.gmail.com
On 6/4/06, larry@cvs.perl.org <larry@cvs.perl.org> wrote:
> +    $a         # simple scalar variable
> +    @a[123]    # single literal subscript
> +    %a{'x'}    # single literal subscript
> +    %a<x>      # single literal subscript
> +    @a[+TERM]  # single term coerced to numeric for array
> +    %a{~TERM}  # single term coerced to string for hash
> +    @a[SIMPLE] # any of these simples used as subscript recursively
> +    %a[SIMPLE] # any of these simples used as subscript recursively

Typo alert: that last one should be %a{SIMPLE}, right?


Stuart

Thread Previous


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