Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: delete duplicated xml lines

by hbm (Hermit)
on Aug 10, 2012 at 13:31 UTC ( [id://986743]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       #move this line up (and simplify it):
       #if(length($materialmapping_file) gt 0 or length($data_folder) gt 0
    +)
    ...
       }
    
       # Now, everything that follows can be outdented one level.
    
  2. or download this
       while( ($filename = readdir(DIR))){
          #if($filename =~ /\.xls$/i) {
    ...
          next unless defined $oBook;
          # everything below can be outdented
          ...
    
  3. or download this
    my %seen;  # a new global variable
    ...
    ...
          $materialmapping_item2->setAttribute($entry);
       }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-18 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found