Thanks for the assistance. Is it required that I make a distinct CGI object for the code to work? Because I can't get it to work using just the default CGI object (I'm not sure how to put it... I'm not using the "$q->" syntax). It just prints out the header onto the logon page and doesn't redirect.
I guess my more general question is "how do you pass information between different CGI scripts?" I assumed some kind of function would exist in CGI.pm that would redirect the browser to a URL given as an argument, and I could just tack on some "?info=foo&info=bar" on the end of it by interpolating variables into the URL.
Sort of like... create a CGI script with one text box where you type a one or a zero, and then when you click the submit button, the script looks at the parameter it got from the text box, and then sends you to another CGI script via a URL according to what you typed. /~me/decide.cgi sends you to /~me/one.cgi if textbox param returns true, and to /~me/zero.cgi if it doesn't.
I'm going to sneak off to the bookstore tomorrow and see if I can't find a solution in a CGI/Perl book. I'll post if I find something good.