in reply to Forms and CGIs

Why do you need to specify that "?user=foo" be in the URL? If you are using a GET request, it is automatically added to the query string. If you are using a POST request, it is added to the entity-body of the request and CGI.pm will read it from STDIN. Either way, you get your data. Also, don't forget your print $query->endform; tag.

The only problem will occur if you are using the POST method with data attached to the URL, which gets read into the $ENV{QUERY_STRING}, but won't be part of your params. You need to hack CGI.pm to allow that (but you shouldn't be mixing GET and POST methods anyway :)

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just go the the link and check out our stats.