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

Re^3: how to update an xml file by read data from csv file

by bitingduck (Chaplain)
on Nov 30, 2012 at 10:00 UTC ( #1006444=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings; 
    ...
    
    print '<?xml version="1.0" encoding="UTF-8"?>'."\n";
    print $tree->as_XML();
    
  2. or download this
    $ perl puttyconfig.pl 
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration savepassword="True" version="0.2.1.4">
    ...
      </root>
    </configuration>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006444]
help
Chatterbox?
[thezip]: Gosh my Unix is lacking these days... How can I get the line count of all CSV files contained within a directory hierarchy containing subdirectories of the CSV files?
[thezip]: Something like: xargs find . -mindepth 2 -name '*.csv' | wc -l or such?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2016-12-06 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (113 votes). Check out past polls.