Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Parsing multi-line record with varying data

by hippo (Abbot)
on Aug 09, 2013 at 17:57 UTC ( #1048813=note: print w/replies, xml ) Need Help??

in reply to Parsing multi-line record with varying data

Welcome to the monastery.

To be honest, there's a lot in that script preventing it even from compiling. It might be best if you could just write a new script which simply manages to open the file correctly, read each line and print each line. Once you have that, save it. Then as you modify it at each step to add extra processes, test it, and if it fails, keep refining your addition until it works.

Good luck.

  • Comment on Re: Parsing multi-line record with varying data

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1048813]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-11-20 03:53 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (284 votes). Check out past polls.