http://www.perlmonks.org?node_id=19382


in reply to RE: Get those parameters without CGI.pm
in thread Get those parameters without CGI.pm

No, %form and %params are not identical. %form contains (of course) the form data submitted with the users request. %params contains %cookie and %form. If there is a param with the same name in both hashes, it's overwritten by %form. However, if you know you want the value from the cookie, and a form was submitted with the same param, you can still get it from the %cookie hash.

And thank you for your suggestion on how I could make the code better (instead of just telling me that it was flawed and not telling me anything useful).

  • Comment on RE: RE: Get those parameters without CGI.pm