Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Convert CSV to XML

by tangent (Parson)
on May 20, 2016 at 12:44 UTC ( [id://1163625]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @rows = (
        {
    ...
            Col5 => 'Toll road INC',
        },
    );
    
  2. or download this
    my $params = { rows => \@rows };
    my $template = Template->new;
    $template->process('template.xml', $params, 'output.xml');
    
  3. or download this
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Import>
    ...
        </record>
    [% END %]
    </Import>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-29 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found