Front page | perl.perl6.language |
Postings from September 2005
for $arrayref {...}
Thread Next
From:
Ingo Blechschmidt
Date:
September 1, 2005 11:33
Subject:
for $arrayref {...}
Message ID:
df7h9r$edv$1@sea.gmane.org
Hi,
my $arrayref = <a b c>;
for @$arrayref {...}; # loop body executed three times, of course
for ($arrayref,) {...}; # loop body executed only one time
for ($arrayref) {...}; # loop body executed one or three times?
for $arrayref {...}; # loop body executed one or three times?
--Ingo
--
Linux, the choice of a GNU | self-reference, n. - See self-reference
generation on a dual AMD |
Athlon! |
Thread Next
-
for $arrayref {...}
by Ingo Blechschmidt