The problem is that you're creating two CGI objects:
my $q = new CGI; ... q = new CGI;
Only the first one can read the POST body from STDIN. When the second one tries to read it, the stream is gone, and you've overwritten the original object, so the data is gone too.
In reply to Re: Mod CGI problems with POST
by chromatic
in thread Mod CGI problems with POST
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |