in reply to
How to find last occurance in an array
You could use a list slice.
my $last = ( grep { ... } LIST )[-1];
[download]
Comment on
Re: How to find last occurance in an array
Download
Code
Replies are listed 'Best First'.
Re^2: How to find last occurance in an array
by
Anonymous Monk
on Aug 28, 2010 at 04:08 UTC
Thanks for your swift reply and I got the solution.
[reply]
In Section
Seekers of Perl Wisdom