Wade Burgett ([EMAIL PROTECTED]) said something to this effect on 04/21/2001:
> sub handler {
>     my $r = shift;
>     my $CGIQuery = new CGI($r);
> };

I think this will do what you are thining:

sub handler {
    my $r = shift;
    my $CGIQuery = CGI->new($r->method qe 'POST' ? $r->content : $r->args);
    ....

And so on. This will initalize the CGI object with either the
content from STDIN or the query string.

But, why wouldn't you jsut use the native Apache API?

(darren)

-- 
"... if the source isn't available, it isn't a scientific result...
scientific experiments works on reproducibility, and reproducibility
in computer science experiments includes peer review of the source code
to ensure that your results are due to what you said they were."
    -- Andrew Bromage (http://www.advogato.org/person/Pseudonym/)

Reply via email to