in reply to Re: Removing duplicate values for a hash of arrays
in thread Removing duplicate values for a hash of arrays
my %hash = ( a => [ '1','2', ], b => [ '2','3', ], c => [ '1','2', ], ); say "$_ => $hash{$_}" for keys %hash;
So the two arrays are two different arrays, and you can't compare them with a simple cmp.c => ARRAY(0x1abd8f0) a => ARRAY(0x1a9f998) b => ARRAY(0x1abd7a0)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Removing duplicate values for a hash of arrays
by Laurent_R (Canon) on Nov 21, 2013 at 18:55 UTC |