in reply to unsupported REQUEST_METHOD?

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:

use Data::Dumper; warn Dumper \%ENV;
it will print list of environment variables into web-server error log, or to console if you run it from command line.

Replies are listed 'Best First'.
Re^2: unsupported REQUEST_METHOD?
by Anonymous Monk on Nov 15, 2009 at 00:18 UTC

    Jtm62 here...

    I'm not sure but I think the script is excuted in the web browser when I click submit on the form in the first script I posted. I haven't had this problem with any of the other input forms I have built for the project. This is the only one that is giving me a fit. This is my first time experiencing Perl, and while I am not bad at debugging it, this problem has proved to be more than I could manage. I'll try executing it in the command line, it may shed some more light on the issue, but these scripts are supposed to be run online.

    thanks for you help!