Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by puck (Scribe)
on Jan 01, 2001 at 15:12 UTC ( [id://49169]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://49169]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-20 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found