in reply to Application just dies

I'm using the CGI module in the script to grab form values. Since this section of code only gets hit when certain things are passed how can I make a mock URL call to the script from DOS? I tried doing scriptname?name1=val1&name2=val2 but it complains that name1 is not recognized as an internal or external command and the same with every "name" afterwards. Is there a way to do this without having to change the script itself? The script runs fine from DOS but isn't hitting the same key areas as if from the browser. Sorry I didn't get back earlier but thanks so much for the response(s).

Replies are listed 'Best First'.
Re^2: Application just dies
by BrowserUk (Patriarch) on Mar 02, 2009 at 14:12 UTC
Re^2: Application just dies
by Corion (Patriarch) on Mar 02, 2009 at 14:08 UTC

    Read CGI about debugging your CGI script from the command line.