how can it be that the program dies with:foreach my $child ($tag->children) { my $newElt= XML::Twig::Elt->new(Contains => { map {$_ , $child->{'at +t'}->{$_}||''} qw(name type comment) }); $tag->paste('last_child', $newElt); }
line 546 is the past-line.cannot paste an element that belongs to a tree at ./E2W line 546
In reply to XML::Twig::Elt cannot paste. Why? by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |