Apache...ms::CGI(3pm)
π Apache::AuthCookie::Params::CGI β a.k.a. Apache...ms::CGI(3pm) π
okay bestie come CLOSE, this is the man page for Apache::AuthCookie::Params::CGI, an internal CGI params subclass, and it's giving β¨ backend plumbing that carries the whole squad β¨
πΈ NAME πΈ
Apache::AuthCookie::Params::CGI β Internal CGI Params Subclass. yes she is internal, no you cannot have her, she's busy π
β VERSION β
version 3.32 β locked in, current, slaying π₯
π¦ SYNOPSIS π¦
Internal Use Only!
not even joking, that's the whole synopsis. the synopsis IS the warning. it's giving "do not perceive me" energy π
π DESCRIPTION π
So this is a pure perl implementation of HTTP/CGI parameter processing for Apache::AuthCookie. Pure perl! No weird compiled extensions, just vibes and Perl doing her thing π
π METHODS π
new($r) β Constructor
the constructor, the origin story, the main character entrance π«Ά you hand it $r and boom, an object.
request(): scalar
get the apache request object. that's it, that's the whole method, she's simple and she knows it π
param()
get or set parameters. she manipulates the underlying params() object, lowkey the puppet master of this whole thing π§
when you call her with no parameters she returns the list of CGI parameter names. the return value totally depends on what you pass in:
param()β returns the list of CGI parameter names πparam($field)β returns the value of the given CGI field. if the field has multiple values, they all get returned as a list. multi-value queen πparam($field, @values)β sets the given CGI field value to the given values. existing values get replaced, no negotiation, no survivors π=end
params(): Hash::MultiValue
get the underlying CGI parameters. this is a merged version of query_params() and body_params() β the two of them combined into one, like a friendship bracelet but for data πΈ
query_params(): Hash::MultiValue
get the request query parameters. the URL-side ones π
body_params(): Hash::MultiValue
get the request body parameters. the POST-side ones π¦
content_length(): int
get the values of the "Content-Length" header. returns 0 if the header isn't present or is empty. no header? cool, you get a zero, we don't spiral about it π
content_type(): string
get the value of the "Content-Type" header. returns an empty string if the header isn't present. empty string, bestie, not undef, keep that in mind π
π SOURCE π
the development version lives on github at <https://github.com/mschout/apache-authcookie> and can be cloned from <https://github.com/mschout/apache-authcookie.git> β go look, she's public, she's thriving π¦
π BUGS π
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. fr fr, no vague "it's broken" messages, give us the receipts π
π AUTHOR π
Michael Schout <mschout@cpan.org> β legend behavior, honestly π
βοΈ COPYRIGHT AND LICENSE βοΈ
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. so yes, you can take her home, she's free free ποΈ
reminder bestie: this whole thing is Internal Use Only, so admire from afar and don't go calling her in your own code unless you enjoy chaos π
and that's the whole page!! perl v5.40.1, dated 2025-09-30, and that's the Apache...ms::CGI(3pm) footer waving goodbye from the group chat πβ¨
π¦ where this page comes from
- ubuntu resolute: libapache2-authcookie-perl 3.32-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapache2-authcookie-perl 3.32-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms