in reply to Re: How do you create sub-nodes with XML::Smart
in thread How do you create sub-nodes with XML::Smart
Duly noted on the code tags. I did try the code you posted but it still have me this output:
I would have thought that it would have given me something like this:$XML->{JOB}{NAME} = $job_name; $XML->{JOB}{DESC}[0] = $desc; $XML->{JOB}{DATA}[0] = $data; $XML->{JOB}{WHO}[0] = $who; <JOB NAME="Jonname" DESC="Description" DATA="Data..."/>
...but it did not. Any other ideas? I have definitely looked over the CPAN site and I didn't see anything that answered my question. Thanks!<JOB NAME="Name"> <DESC>Description</DESC> <DATA>Data</DATA> ...... </JOB>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How do you create sub-nodes with XML::Smart
by ramrod (Curate) on Mar 03, 2009 at 20:58 UTC | |
by Anonymous Monk on Mar 03, 2009 at 22:02 UTC |
In Section
Seekers of Perl Wisdom