in reply to Stuck on some real basic cgi perl
Additional note; if you want to just print big wads of HTML, using multiple print() statements is inefficient, ugly and hard to maintain. Use heredocs instead:
templates are usually even better.print <<ENDHTML; # print everything up until the marker <html> <head><title>Message Main Menu</title></head> <h1><font color=green>Message Main Menu</font></h1> <body> <form action="../cgi/messages.pl" method=post> <input type=submit name=query_messages value = "Query Messages" s +tyle="position:absolute; left: +80 width: 20em"><br><br> <input type=submit name=add_message value = "Add Message" style=" +position:absolute; left:80 wid +th: 20em"><br><br> <input type=submit name=modify_message value = "Modify Message" s +tyle="position:absolute; left: +80 width: 20em"><br><br> <input type=submit name=delete_message value = "Delete Message" s +tyle="position:absolute; left: +80 width: 20em"> </form> </body> </html> ENDHTML
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Stuck on some real basic cgi perl
by o2bwise (Scribe) on Apr 13, 2007 at 14:44 UTC |