Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: XML::Twig Stream root children

by mirod (Canon)
on Oct 03, 2009 at 16:08 UTC ( [id://799025]=note: print w/replies, xml ) Need Help??


in reply to Re^3: XML::Twig Stream root children
in thread XML::Twig Stream root children

You can even do xml_split -l 1

Replies are listed 'Best First'.
Re^5: XML::Twig Stream root children
by Herkum (Parson) on Oct 05, 2009 at 14:59 UTC

    using the 'level(1)' as the Anonymous Monk suggested does the trick. The question I have now, is where is this documented? I only saw one it mentioned once in the XML::Twig POD and I found an example in the unit tests.

    Update: I take this back, I did find in the documentation. Though I had never noticed it before. This project has been a good learning experience.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found