in reply to CGI form results to XML
use CGI "param"; my @birthdays = param("birthday");
CGI. It really is that easy. Don’t roll your own. You have to be an expert in all the relevant RFCs as well as browser quirks to do it well and any expert wouldn’t do it because it’s already done.
Also, do *not* write your own XML. It’s similarly much more difficult to do right than is obvious. XML::LibXML or XML::Simple are typical choices and the latter can be easy if you know its limitations v your actual task.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: CGI form results to XML
by 7stud (Deacon) on Feb 17, 2013 at 01:29 UTC | |
by spencerr1 (Novice) on Feb 17, 2013 at 17:04 UTC | |
by Anonymous Monk on Feb 17, 2013 at 17:12 UTC | |
by Anonymous Monk on Feb 17, 2013 at 19:22 UTC | |
by spencerr1 (Novice) on Feb 17, 2013 at 02:54 UTC | |
Re^2: CGI form results to XML
by spencerr1 (Novice) on Feb 17, 2013 at 00:21 UTC |
In Section
Seekers of Perl Wisdom