in reply to mod_perl is not liking POST

Lemme guess, you are doing your own form handling rather than using CGI? And are wondering why the environment variables don't have the data?

Surprise! That is one of the reasons why you aren't supposed to roll your own. On a POST the data does not come in in the environment (which is limited in size). It has to be read from the appropriate socket.

Try this snippet and see if it doesn't work a little better...

use CGI qw(:standard); # time passes my $param_value = param('param_name');

Replies are listed 'Best First'.
Re: Re: mod_perl is not liking POST
by chromatic (Archbishop) on Sep 02, 2002 at 02:06 UTC

    Nice guess, but the poster said he tried using CGI::Vars(). I'm more concerned about there being a 'query string' value. By default, CGI.pm doesn't read both GET and POST content.