Apache::AuthCookie::Params::CGI - Internal CGI Params Subclass
version 3.31
Internal Use Only!
This is a pure perl implementation of HTTP/CGI parameter processing for Apache::AuthCookie.
Constructor
Get the apache request object
Get or set parameters. This manipulates the enderlying params() object. When called with no parameters returns the list of CGI parameter names. Return value depends on the arguments passed:
param()
Return the list of CGI parameter names
param($field)
Return the value of the given CGI field. If the field has multiple values they will all be returned as a list.
param($field, @values)
Set the given CGI field value to the given values. Existing values will be replaced. =end
Get the underlying CGI parameters. This is a merged version of query_params() and body_params().
Get the request query parameters.
Get the request body parameters.
Get the values of the Content-Length header. Returns 0 if the header is not present or empty.
Content-Length
0
Get the value of the Content-Type header. Returns an empty string if the header is not present.
Content-Type
The development version is on github at https://https://github.com/mschout/apache-authcookie and may be cloned from git://https://github.com/mschout/apache-authcookie.git
Please report any bugs or feature requests on the bugtracker website https://github.com/mschout/apache-authcookie/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Michael Schout <mschout@cpan.org>
This software is copyright (c) 2000 by Ken Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Apache::AuthCookie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::AuthCookie
CPAN shell
perl -MCPAN -e shell install Apache::AuthCookie
For more information on module installation, please visit the detailed CPAN module installation guide.