in reply to making a difference between POST parameters and URL parameters

You can check with CGI::request_method which one was used, and you can access the GET parameters in the URL with url_param.

If request_method was POST, use param to access the post params.