![]() |
|
There's more than one way to do things | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
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... In reply to Re^3: Logic trouble parsing a formatted text file into hashes of hashes (of hashes, etc.)
by SpanishInquisition
|
|