How do you run this script? It looks like REQUEST_METHOD environment variable isn't set. If you run this script from command line you should set it manually. Try print out environment somewhere in your script:
it will print list of environment variables into web-server error log, or to console if you run it from command line.use Data::Dumper; warn Dumper \%ENV;
In reply to Re: unsupported REQUEST_METHOD?
by zwon
in thread unsupported REQUEST_METHOD?
by jtm62
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |