On Feb 10, 2008 1:57 AM, Mag Gam wrote:
> doc.pl looks like this:
> #!/usr/bin/perl -w
> use strict;
> use CGI;
> use APR::Request::Apache2 ();
>
>
> print "Content-type: text/html\n\n";
> print "Hello";


my $r = shift;

> my $req = Apache2::Request->new($r, POST_MAX => "1M");


Also, don't print your Content-type header. Use CGI or $r to do it.

- Perrin