Front page | perl.modules |
Postings from May 2008
Module submission WebIn2
Thread Next
From:
Perl Authors Upload Server
Date:
May 6, 2008 01:54
Subject:
Module submission WebIn2
The following module was proposed for inclusion in the Module List:
modid: WebIn2
DSLIP: bdpfp
description: Perl extension for reading CGI form data
userid: KES (Eugen Konkov)
chapterid: 15 (World_Wide_Web_HTML_HTTP_CGI)
communities:
similar:
CGI::WebIn
rationale:
This module provide easy way to get pure POST data Allow easy
registring of hanlers to parse any type of data passed to script.
Parses are called based on 'CONTENT_TYPE'
registerContentParser( 'text/json', \&jsonParser );
sub jsonParser { my( $data )= @_; return jsonToObj( $data ); }
and then in user end script which receive POST data in JSON format;
use CGI::WebIn2;
print $POST{var1}; print $GET{other}; print $COOKIES{cccc};
enteredby: KES (Eugen Konkov)
enteredon: Tue May 6 08:53:55 2008 GMT
The resulting entry would be:
WebIn2 bdpfp Perl extension for reading CGI form data KES
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=de310000_482e8e2827f94add&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=de310000_482e8e2827f94add&SUBMIT_pause99_add_mod_insertit=1
Thread Next
-
Module submission WebIn2
by Perl Authors Upload Server