in reply to unsupported REQUEST_METHOD?

.... as to your line 23 problem, it may be an if-elsif-else logic problem

...try commenting out all your logic, and try just

if ($ENV{'REQUEST_METHOD'} eq 'POST'){ print "success\n" }
...these lines of yours look particularly odd, as far as possible logic and prescendence errors
elsif ($ENV{'REQUEST_METHOD'} eq 'POST') { if ($ENV{'CONTENT_TYPE'}=~ m#^application/x-www-form-urlencode +d$#i) { $ENV{'CONTENT_LENGTH'} || &HTMLdie("No Content-Length sent with the POST requ +est.") ; read(STDIN, $in, $ENV{'CONTENT_LENGTH'}) ; } else {
its too early sunday morning for me to test that logic out.... but that is where i would look first

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku