in reply to More efficient reading of forms in CGI

So, fellow monks, any pitfalls or better ways of doing this?

Yes. You're now at the whim of whoever forges a form.

Leave it the way it was. You gain little by your change, except saving yourself a bit of typing, and you lose control over your namespace.

Be explicit with what you expect in the form, and you'll make it easier on yourself when you pick the code up 6 months from now to make a change.

  • Comment on Re: More efficient reading of forms in CGI