develooper Front page | perl.perl6.language | Postings from March 2005

Re: for @list ⊂

Thread Previous
From:
Miroslav Silovic
Date:
March 14, 2005 05:20
Subject:
Re: for @list ⊂
Message ID:
423580B9.6090700@puremagic.com
rod@rodadams.net wrote:

>    for \@a, \@b, \@c -> $x { say $x };
>
> should work. Are there any non-slashy versions of this?

I'd guess

for @a; @b; @c -> $x { say $x;}

or

for (@a; @b; @c) -> $x { say $x;}

(are parens mandatory here?)

    Miro


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