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

Re: CGI Question

by linuxer (Deacon)
on Jul 21, 2009 at 19:08 UTC ( #782055=note: print w/ replies, xml ) Need Help??


in reply to CGI Question

You should consider to use start_form() and end_form() from CGI to start and finish your HTML form.

You can save many prints if you print a list of $cgi->... elements.

print $cgi->header(), $cgi->start_html('title'), $cgi->start_form(), #... your form here $cgi->end_form(), $cgi->end_html(), ;

Update: Maybe you should have a look at a templating system like HTML::Template as well. Using a templating system helps you to separate your HTML content from your perl code.


Comment on Re: CGI Question
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (19)
As of 2015-07-29 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls