in reply to Re^2: XML module which one
in thread XML module which one
...but when I get data from the form (many name = value results it looks like I would have to manually enter them in another script right? I was hopping to have a script that opened up the cgi.pm form results and could draw the key = value results in an XML document.
What do you mean 'another script'? Even if you had to retrieve each name/value pair one by one and insert them in a hash, then feed the hash to XML::Simple to create the xml, you would do it all in the same script. Moreover, you do not have to retrieve the form data one name/value at a time--because the cgi module makes the form data available to you as a hash. See the section titled FETCHING THE PARAMETER LIST AS A HASH in the cgi docs. Then you can pass that hash as an argument to XMLout() to produce the xml.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: XML module which one
by Anonymous Monk on Feb 05, 2013 at 07:47 UTC | |
|
Re^4: XML module which one
by spencerr1 (Novice) on Feb 05, 2013 at 14:18 UTC |