Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^7: XML File Creation in Perl

by kcott (Archbishop)
on Apr 17, 2013 at 07:25 UTC ( [id://1029086]=note: print w/replies, xml ) Need Help??


in reply to Re^6: XML File Creation in Perl
in thread XML File Creation in Perl

Instead of assigning:

$xml_data->{$root}{$table}{NEW2}{KEY} = [$key]

Try pushing:

push @{$xml_data->{$root}{$table}{NEW2}{KEY}}, $key;

There's a few examples of that in the code I posted earlier.

-- Ken

Log In?
Username:
Password:

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

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

    No recent polls found