"Damian Conway" schreef:
> Ruud:
>> Damian:
>>> Carl:
>>>> But it can hardly be blamed for clarity.
>>>
>>> That's a little unfair.
>>
>> "can hardly be blamed" -> "can easily be praised" <g>
>
> Apologies to Carl if I misinterpreted. I read it as:
> "can hardly be blamed for (having) clarity"
> ;-)
Nah, I was just joking; his "but" gave it away already.
I didn't agree that the map-approach Carl showed is not clear, but
prefer the pointy blocks version that you showed.
my @array = <london bridge is falling down> ;
for @array -> $index, $value
{
say "Element $_ is called $value"
}
But I don't understand how the "$index, $value" pair gets its values; is
@array somehow turned into a hash with the index as the key?
With @array -> $index, $value {}, is $_ an alias of $index?
--
Affijn, Ruud (should update his pugs, but on dialup now)
"Gewoon is een tijger."