zuma53 has asked for the wisdom of the Perl Monks concerning the following question:
What's happening is that the first paste to objects works, but all the subsequent pastes do not.my $twig = new XML::Twig; $twig->parse('<objects />'); $root = $twig->root; ...loop... my $object = new XML::Twig; $object->parse('<object />'); $objRoot = $object->root; ...build object xml... $objRoot->paste('last_child', $root);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML-Twig problem with Perl 5.16
by mirod (Canon) on Jun 28, 2012 at 04:19 UTC | |
by zuma53 (Beadle) on Jun 28, 2012 at 21:14 UTC | |
by mirod (Canon) on Jun 29, 2012 at 05:50 UTC | |
|
Re: XML-Twig problem with Perl 5.16
by Anonymous Monk on Jun 27, 2012 at 15:12 UTC | |
by Anonymous Monk on Jun 27, 2012 at 20:27 UTC | |
by zuma53 (Beadle) on Jun 28, 2012 at 19:01 UTC | |
by Anonymous Monk on Jun 27, 2012 at 20:32 UTC | |
|
Re: XML-Twig problem with Perl 5.16
by locked_user sundialsvc4 (Abbot) on Jun 27, 2012 at 22:21 UTC | |
by Anonymous Monk on Jun 28, 2012 at 01:23 UTC |