Title: $r->content
I’m trying to read some posted data, modify it and then redirect request inc the modified data. Something like;

my $r = Apache::Request->new(Apache->request);
my %form = $r->content;
#modify %form
$r->content(%form);
$r->internal_redirect_handler($some_page);

That’s the ideal but from some tests I’ve done it would seem that content() takes no args and so cannot be used in this way.

Presently I get all the incoming parameters via Apache::Request and append to the URL before redirecting but this is not ideal as I’d like to spit the modified parameters out in a POST. Can anyone give me any advice?

Thanks.

Reply via email to