Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 meditating upon the Monastery: (5)
As of 2014-12-19 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls