Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Vijay81 (Acolyte)
on Dec 03, 2012 at 21:09 UTC ( #1006952=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 $resultfile '<?xml version="1.0" encoding="UTF-8"?>'."\n";
    print $resultfile $tree->as_XML();
    close($resultfile);
    
  2. or download this
    >perl xml.pl
    Bareword found where operator expected at xml.pl line 98, near "%%gi"
    ...
    Ambiguous use of % resolved as operator % at xml.pl line 98.
    syntax error at xml.pl line 98, near "%%gi"
    Execution of xml.pl aborted due to compilation errors.
    
  3. or download this
    $mycontainerless=~%</container>%%gi;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-07-12 17:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls