AnnoCPAN::XMLCGI 0.22 review

Download
by rbytes.net on

AnnoCPAN::XMLCGI is a Perl module to read XML input through a CGI.pm-like interface. SYNOPSYS use AnnoCPAN::XMLCGI;

License: Perl Artistic License
File size: 77K
Developer: Ivan Tubert-Brohman
0 stars award from rbytes.net

AnnoCPAN::XMLCGI is a Perl module to read XML input through a CGI.pm-like interface.

SYNOPSYS

use AnnoCPAN::XMLCGI;

my $cgi = AnnoCPAN::XMLCGI->new;

my $name = $cgi->param('name');
print $cgi->header;
print "Hello, $name!n"; # Hello, Bob!

# In STDIN...
< data >
< name >Bob< /name >
< age >123< /age >
< data >

This module reads XML from STDIN and makes it available through and interface that is compatible with a subset of that for CGI. Its purpose is to be used as a drop-in replacement for CGI for JavaScript XMLHttpRequest handlers that receive their input in XML instead of the typical CGI form encoding.

Note that only a very minimal subset of CGI is implemented, but it is the only part that is required for most simple uses.

The input stream is expected to be a very simple XML structure with only one level of depth, a

Requirements:
Perl

AnnoCPAN::XMLCGI 0.22 search tags