Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Logic trouble parsing a formatted text file into hashes of hashes (of hashes, etc.)

by SpanishInquisition (Pilgrim)
on Oct 18, 2004 at 19:18 UTC ( #400290=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Logic trouble parsing a formatted text file into hashes of hashes (of hashes, etc.)
in thread Logic trouble parsing a formatted text file into hashes of hashes (of hashes, etc.)

He's speaking of building a SAX-style parser for your file format. Recognize tokens, call functions when you find them, and keep track of context with package variables...

Another alternative might be Parse::RecDescent or the YAPP module...


Comment on Re^3: Logic trouble parsing a formatted text file into hashes of hashes (of hashes, etc.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2015-07-29 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls