Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Processing Two XML Files in Parallel

by ikegami (Patriarch)
on Jul 21, 2011 at 22:19 UTC ( [id://916009]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    }
    
    die "Too many counts" if @counts;
    
  2. or download this
          my $new_text = $node->textContent() x shift(@counts);
          $node->removeChild($_) for $node->findnodes('text()');
          $node->appendText($new_text);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-25 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found