Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2016-12-11 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.