Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Parsing a text file to get the location of the latestby jonnyfolk (Vicar) |
on Nov 03, 2012 at 06:59 UTC ( [id://1002087]=note: print w/replies, xml ) | Need Help?? |
Since all entries seem to be in time order, the simplest logic would surely be to split on the double new line, loop the resulting array and search for Approved,
push 'Approved' block into a new array and extract the information you need from the final array entry. Simples!
In Section
Seekers of Perl Wisdom
|
|