Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Do you know where your variables are?
 
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 romping around the Monastery: (7)
As of 2014-04-17 23:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (458 votes), past polls