Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Parsing a text file to get the location of the latest

by jonnyfolk (Vicar)
on Nov 03, 2012 at 06:59 UTC ( #1002087=note: print w/ replies, xml ) Need Help??


in reply to Parsing a text file to get the location of the latest

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!


Comment on Re: Parsing a text file to get the location of the latest

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002087]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-04-21 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls