Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: XML::Rules parsing inside out?

by runrig (Abbot)
on Dec 14, 2017 at 16:54 UTC ( #1205539=note: print w/replies, xml ) Need Help??

in reply to Re: XML::Rules parsing inside out?
in thread XML::Rules parsing inside out?

XML::Rules is not a normal event based parser, one that would fire events at you and expect you to take care of any bookkeeping.
Depending on the XML and what I'm trying to do, sometimes I find it easier to use XML::Rules as a semi-event based parser by leveraging the start rules and setting global variables.

Replies are listed 'Best First'.
Re^3: XML::Rules parsing inside out?
by Jenda (Abbot) on Dec 18, 2017 at 18:34 UTC

    Whatever works. :-)

    Enoch was right!
    Enjoy the last years of Rome.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2019-06-16 14:29 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (76 votes). Check out past polls.