in reply to Sort the hash array
I'm not sure to understand what you want exactly, but if you wish to sort the content of the $record array ref based on the value of $timereceived, then you probably need to include the value of $timereceived as an additional field in your records.
In addition, it would be nice if you showed a sample of your input data and of the output of the print Dumper statement. By the way,
is likely to give you a more informative display thanprint Dumper $records;
print Dumper @$records;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sort the hash array
by snehit.ar (Beadle) on Jul 06, 2017 at 11:04 UTC | |
by Laurent_R (Canon) on Jul 06, 2017 at 12:26 UTC |