Name : perl-CGI-Minimal
| |
Version : 1.30
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 16:22:41
|
Group : Development/Libraries/Perl
| Source RPM : perl-CGI-Minimal-1.30-lp155.1.1.src.rpm
|
Size : 0.07 MB
| |
Packager : https://www_suse_com/
| |
Summary : Lightweight Cgi Form Processing Package
|
Description :
Provides a micro-weight alternative to the CGI.pm module
Rather than attempt to address every possible need of a CGI programmer, it provides the _minimum_ functions needed for CGI such as form decoding (including file upload forms), URL encoding and decoding, HTTP usable date generation (RFC1123 compliant dates) and _basic_ escaping and unescaping of HTMLized text.
The \':preload\' use time option is used to force all sub-component modules to load at compile time. It is not required for operation. It is solely a performance optimization for particular configurations. When used, it preloads the \'dehtmlize\',\' param_mime\', \'param_filename\', \'date_rfc1123\', \'url_decode\', \'calling_parms_table\' and parameter setting supporting code. Those code sections are normally loaded automatically the first time they are needed.
The \':no_subprocess_env\' use time option is used under ModPerl2 to suppress populating the %ENV hash with the usual CGI environmental variables. This is primarily a performance enhancement for some configurations.
The form decoding interface is somewhat compatible with the CGI.pm module. No provision is made for generating HTTP or HTML on your behalf - you are expected to be conversant with how to put together any HTML or HTTP you need.
The parser accepts either \'&\' or \';\' as CGI form field seperators.
IOW
a=b;c=d
a=b&c=d
both will decode as a=b and c=d
The module supports command line testing of scripts by letting you type a GET style argument followed by pressing the \'enter/return\' key when the module is called to decode a form when running a script from the shell.
Example:
bash> ./myscript a=b&b=d< return>
Alternatively, you can set the environment variable REQUEST_METHOD to \'GET\' and set the environment variable QUERY_STRING to pass your CGI parameters.
Example:
bash> REQUEST_METHOD=GET QUERY_STRING=\'a=b\' ./myscript
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/15.5/noarch |