Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Going through a big file [solved]

by topher (Scribe)
on Jan 18, 2013 at 00:18 UTC ( #1013917=note: print w/replies, xml ) Need Help??


in reply to Going through a big file [solved]

I'd recommend following the advice pointed to by Anonymous Monk's question, and investigating a CPAN module to assist you with the XML processing. For example, I know XML::Twig can handle huge XML files, and I'm certain there are others available, too.

I love regular expressions, and they've helped me solve all sorts of nightmare formats, but XML is already a structured data source, using a tool that lets you take advantage of that structure will usually make things easier on you and more robust.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2019-08-18 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (134 votes). Check out past polls.

    Notices?