in reply to Strange CGI problem with POST

i never used the CGI::ReadParse() method, so i gave it a try. testing with the following minimal script it works fine - i.e. $in{antique} is set to the correct value using POST.

maybe your problem is hidden somewhere else in your code, be sure to enable warnings and use strict;

consider using cgi's new method's, when writing new code.
#!/usr/bin/perl -w use strict; $|=1; use CGI; my $q = new CGI; use vars qw(%in); CGI::ReadParse(); print $q->header(), $q->start_html(), "The value of the antique is $in{antique}.\n", $q->start_form(), $q->textfield(-name=>'antique'), $q->end_form(), $q->end_html();

snowcrash //////