in reply to Re: compare previous and present hash key values
in thread compare previous and present hash key values
I just converted the hash into an array sorted
using:my @array = map { $result{$_} } sort { $a<=>$b } keys %result;
Since it's now an array, how may i proceed ?
This is the print of the array sorted without keys though:
$VAR1 = [ [ '172193', '19601', '14835', '16718' ], [ '172193', '19601', '14835', '16718' ], [ '172193', '19601', '14835', '16718' ], [ '172193', '19601', '14835', '16718' ], continues....
for now they all look the same but as it progresses there are differences
I don't understand your code well, also the lines of code added to your code confuses.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: compare previous and present hash key values
by LanX (Saint) on Jan 11, 2014 at 16:19 UTC |