in reply to Re: How to filter the array with id of max. date.
in thread How to filter the array with id of max. date.
Yes ur right it an Array of Aarray
my @array = ( ['ashok',15,'2006-01-01'], ['ashokpj',15,'2006-02-01'], ['ravi',56,'2006-03-01'], ['raja',56,'2006-02-01'], );
requried o/p
@res = ( ['ashokpj',15,'2006-02-01'], ['ravi',56,'2006-03-01'] );
because i want to get last update recode same time it must be group by ID (name,id,date(yyyy-mm-dd));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to filter the array with id of max. date.
by Zaxo (Archbishop) on Apr 10, 2006 at 06:43 UTC | |
by Anonymous Monk on Apr 10, 2006 at 06:56 UTC |