Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^5: XML parsing with XML::Rules

by kcott (Bishop)
on Jun 16, 2013 at 18:48 UTC ( #1039240=note: print w/replies, xml ) Need Help??

in reply to Re^4: XML parsing with XML::Rules
in thread XML parsing with XML::Rules

I don't remember :) I guess it seems obvious its a function you're supposed to write yourself -- so yeah, what you said is pretty much spot on ,

No worries - we appear to be on the same page as far as that goes.

except the appear that's poorly documented portion, because that seems like pretty good documentation to me

Just to clarify, "It would appear that's poorly documented" (by me) only referred to the sample code under parse_chunk and was in response to the OP's "I copied the 'example' straight out of CPAN ...". The function read_chunk_of_data() appears amidst two other functions, parse_chunk() and last_chunk(), with no clear distinction between those last two being provided by the module and the first not being so provided. [read_chunk_of_data() also appears under filter_chunk in much the same context.]

Overall, I personally have no problem with the documentation. The example code I wrote in my original response was purely from the documentation and only took a minute or two despite never having used XML::Rules.

-- Ken

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2021-03-07 09:56 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (120 votes). Check out past polls.