Hi,
# Should this work?
say (a => 1, b => 2)<b>; # 2 or error?
# Similarily:
my @array = (a => 1, b => 2);
say @array<b>;
my $arrayref = [ a => 1, b => 2 ];
say $arrayref<b>;
FWIW, I think accessing arrays and arrayrefs by key should probably not
work, but I'm unsure on (...)<b>.
(%hash[$numerical_index] is, of course, bogus, as hashes aren't ordered
by default.)
--Ingo
--
Linux, the choice of a GNU | Row, row, row your bits, gently down
generation on a dual AMD | the stream...
Athlon! |
Thread Next