in reply to Re: Should One Use CGI.pm to Generate HTML?
in thread Should One Use CGI.pm to Generate HTML?

I use CGI.pm for accessing params and for generating forms. This isn't just to make the logic simpler when generating checkboxes, but mostly because it remembers settings for you.

This is useful when a user submits a form, but with some fields not filled in. The code generates a warning message which is displayed and then I just call the function to generate the form again and hey presto, everything the user entered is there. Very useful.

I don't use CGI.pm for generating the rest of my HTML code though, I prefer to that by hand.

  • Comment on Re: Re: Should One Use CGI.pm to Generate HTML?