Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: XML-Twig problem with Perl 5.16

by mirod (Canon)
on Jun 28, 2012 at 04:19 UTC ( #978827=note: print w/ replies, xml ) Need Help??


in reply to XML-Twig problem with Perl 5.16

In 5.14 are you sure you are using XML::Twig 3.40?

In previous versions of the module there was a bug that would let you paste the root of an XML::Twig object without cutting it first. It looks like it is the case here, when you paste $objRoot.

On a side note, you may want to write XML::Twig->new instead of new XML::Twig, search the web for perl indirect object syntax if you want to know why.


Comment on Re: XML-Twig problem with Perl 5.16
Re^2: XML-Twig problem with Perl 5.16
by zuma53 (Beadle) on Jun 28, 2012 at 21:14 UTC
    In my 5.14 version, Twig 3.39 is installed there.

    Thanks.

      There you go then, you should either fix the bug by cutting $objRoot before pasting it, or wait for XML::Twig 3.41 which should allow for the old behaviour to work.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-07-07 12:03 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 (88 votes), past polls