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
In reply to Re: Re: Apache2 Frustrations
by cees
in thread Apache2 Frustrations
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |