Beefy Boxes and Bandwidth Generously Provided by pair Networks
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1002087]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found