Quoting Tim Gustafson :

> Hrmm, that doesn't seem to work. In my code, I have:
> print $fh $r->body . "\n";
> And in my error log, I get:
> Can't locate object method "body" via package "Apache2::RequestRec" at
> /var/www/lib/Log.pm line 31.

It's part of Apache2::Request, see the documentation below


It gives you access to the content through an APR::Table derived
class, so you can do stuff like:

my $name = $r->body("name");


my $table = $r->body();

It doesn't give you access to the whole, unaltered POST data (afaik).