Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Think about Loose Coupling
 
PerlMonks  

Re^2: XML-Twig paste

by Anonymous Monk
on Oct 16, 2012 at 20:05 UTC ( #999416=note: print w/ replies, xml ) Need Help??


in reply to Re: XML-Twig paste
in thread XML-Twig paste

Yup, if you  warn  $root->cut; you'll get undef, naturally

sub cut { my $elt= shift; my( $parent, $prev_sibling, $next_sibling, $last_elt); # you can't cut the root, sorry unless( $parent= $elt->{parent}) { return; }

So whatever the reason is, its intended


Comment on Re^2: XML-Twig paste
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2014-04-16 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (436 votes), past polls