in reply to Formatting CGI
So really, it's a matter of doing both. (Note that CGI.pm provides a bevy of methods for generating HTML for you. There are also nice things like Text::Template and HTML::Mason. In a simple case, there's nothing wrong with using a here doc and embedding your HTML in the script. Just don't use a page full of print statements.)print STDOUT >>EOT; <table> <tr> <td>FIRST BUTTON</td> <td>SECOND BUTTON</td> <td>THIRD BUTTON</td> </tr> <tr> <td>I AM ON THE SECOND ROW</td> <td>YOU ARE LISTENING TO ME TYPE</td> <td>MY NAME IS MORT</td> </tr> </table> EOT
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Formatting CGI
by brysonic venture (Initiate) on Apr 06, 2000 at 23:43 UTC | |
by btrott (Parson) on Apr 07, 2000 at 00:18 UTC | |
by Anonymous Monk on Apr 07, 2000 at 00:36 UTC |