Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the CGI-Application-Plugin-Apache CPAN distribution.

Report information
The Basics
Id: 8419
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-Apache

Owner: Nobody in particular
Requestors: william [...]

Bug Information
Severity: Wishlist
Broken in: 0.09
Fixed in: (no value)


Subject: Calling dump_html generates errors
Download (untitled) / with headers
text/plain 478b
Michael, Still going through my code to replace my use of with Apache::Request. Discovered that calling C::A's dump_html method tries to call $query->Dump which is not defined by Apache::Request. Any ideas for handling these kinds of errors besides not calling the methods? Perhaps a list of non-functional methods would be helpful in the POD. Another thought is to create a subclass of Apache::Request which supports these non-std methods that CGI::App uses. William
From: william [...]
Download (untitled) / with headers
text/plain 353b
Michael, I decided to make a patch to the POD to help me remember what I had to change to get my code working under the Apache::* modules. I'm not that good with POD formatting so please edit if you know a better way to display this info. Let me know if you think this info belongs in a separate doc (e.g., C::A::P::Apache::Tutorial). Thanks, William
text/x-diff 1.2k
--- 2004-11-13 18:06:27.000000000 -0500 +++ 2004-11-13 18:15:42.000000000 -0500 @@ -395,6 +395,16 @@ But it's really up to you. +=head1 UNSUPPORTED CGI::Application METHODS + +The following CGI::Application methods are not currently supported due to dependence on methods in which are not supported by Apache::Request. + +=over + +=item dump_html + +=back + =head1 COMPATIBILITY Upon using this module you completely leave behind the world of L<|CGI>. Don't look back or @@ -433,6 +443,20 @@ If for some reason you are using this plugin in a non-mod_perl environment, it will try to do the right thing by simply doing nothing :) +=head1 MIGRATING TO APACHE::* MODULES + +If you are used to, migrating to the Apache::* modules will entail a few changes. The following is a list of changes you will need to make (see COMPATIBILITY if you want to support both and Apache::*): + +=over + +=item $q->url ==> $q->uri (see Apache::URI) + +=item $q->delete('rm'); ==> $q->parms->unset('rm'); + +=item $q->delete ==> $q->parms->clear(); + +=back + =head1 AUTHOR Michael Peters <>

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to