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

Re^3: TreeDumper Parser / Inverse?

by Arunbear (Prior)
on Aug 09, 2017 at 13:04 UTC ( [id://1197100]=note: print w/replies, xml ) Need Help??


in reply to Re^2: TreeDumper Parser / Inverse?
in thread TreeDumper Parser / Inverse?

Here's a crazy idea. Apply some simple transforms to the the TreeDump output:
'|- ' => '', '| ' => '', '`-' => '', '=' => ':', 'undef' => 'null',
You may need some more, but after that the text will be in YAML format, so you can use one of the YAML parsers to convert it to a hash.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found