in reply to Editing Entries In A Flat Database with cgi
Some comments:
into this:print " <td align=center>\n"; print " <input type=submit value=\"Process Information\">\n"; print " <input type=reset value=\"Clear Form\">\n"; print " </td>\n";
print td( {-align=>'center'}, submit( -value=>'Process Information'), reset( -value=>'Clear Form') ), "\n";
Once you get used to it, it's a much cleaner (and more efficient -- one call to print() rather than fifty -- way to express large amounts of literal text.print <<"END_HTML"; <HTML> <HEAD> <TITLE>Document Title</TITLE> </HEAD> <BODY> Hello, World! </BODY> </HTML> END_HTML
dmm
You can give a man a fish and feed him for a day ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Editing Entries In A Flat Database
by impossiblerobot (Deacon) on Dec 28, 2001 at 20:33 UTC | |
by IlyaM (Parson) on Dec 28, 2001 at 23:08 UTC | |
by dmmiller2k (Chaplain) on Dec 28, 2001 at 20:58 UTC | |
by tilly (Archbishop) on Jan 05, 2002 at 19:31 UTC | |
by dmmiller2k (Chaplain) on Jan 06, 2002 at 08:44 UTC |