in reply to Re: Warning from XML/Twig.pm : Use of uninitialized value in numeric eq (==)
in thread Warning from XML/Twig.pm : Use of uninitialized value in numeric eq (==)
Hi all,
Thanks for all the hints...It helped me a lot to solve the problem. Looks like it was indeed a problem with weakref and leaks.
From XML::Twig man page
dispose Useful only if you don't have Scalar::Util or WeakRef installed. Reclaims properly the memory used by an XML::Twig object. As the o +bject has circular references it never goes out of scope, so if you w +ant to parse lots of XML documents then the memory leak becomes a pro +blem. Use $twig->dispose to clear this problem.
Same dispose method was available with OpenOffice::OOdoc module and problem got solved when started using that.
Thanks a lot monks
|
|---|