in reply to Re: Apache2 Frustrations
in thread Apache2 Frustrations
You can use CGI as long as you use Apache::compat.
Are you sure about this? According to the porting docs you can use CGI.pm with mod_perl2 as long as you use version 2.93 or greater.
CGI.pm is capable of taking the apache request object so it can deal with any mod_perl specific issues (like cleaning up globals) that need to be done. The more people that try it, the quicker it will be release quality.
my $r = Apache->request; my $query = CGI->new($r);
Note that to get access to the Apache->request object you may need to activate 'PerlOptions +GlobalRequest' in your apache config.
Also, the Apache::Request module for mod_perl2 is coming along nicely. Although it is not quite ready for production, I don't think it will be much longer.
- Cees
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Apache2 Frustrations
by !1 (Hermit) on Nov 22, 2003 at 02:45 UTC | |
by cees (Curate) on Nov 22, 2003 at 03:52 UTC |