Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: XML::Twig size problem

by mirod (Canon)
on Jun 23, 2012 at 05:07 UTC ( #977940=note: print w/ replies, xml ) Need Help??


in reply to XML::Twig size problem

Which version of perl are you using? Up until 5.16.0 there was a bug in the interpretor that made XML::Twig crash when it hit a large number of children. See a description at Re: XML::Twig too many children?.

Edit: it's early and I haven't had my coffee, so I am not sure I read the post right, so just to be sure: in the handler you do </t>purge</t> the tree right? Otherwise it could be just a case of the memory filling up.


Comment on Re: XML::Twig size problem
Re^2: XML::Twig size problem
by slugger415 (Scribe) on Jun 23, 2012 at 16:57 UTC

    Hi mirod, I added purge after I posted and am still getting the same result.

    I'm using ActivePerl 5.14.2; I don't see any later downloads on the ActiveState site, so I guess I'm out of luck?

    thanks, Scott

        thanks for the links -- was able to install the later XML::Twig module from cpan without upgrading my Perl -- seems to be working now -- thank you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2015-07-05 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls