in reply to Re^2: Sorting array with multiple values per keys
in thread Sorting array with multiple values per keys
That is much easier to read, but it actually does something different. I think we'd rather have:
my @a2 = map { /(.*),(.*)/; { x => $1, y => $2 } } @a1;
Thanks!
|
|---|