in reply to Re: Interesting Use for "state" Variables
in thread Interesting Use for "state" Variables

perl6 already has the kv thingy:
for @x.kv -> $index, $value { say $index, ' ', $value }
(tested with rakudo, it works)
[]s, HTH, Massa (κς,πμ,πλ)

Replies are listed 'Best First'.
Re^3: Interesting Use for "state" Variables
by BrowserUk (Patriarch) on Mar 10, 2009 at 03:46 UTC