Re: table with variables

2004-09-10 Thread Sean Davis
Just print 'table' and '/table' separately. Then, you are free to when necessary. Alternatively, if you are doing a good deal of this, look at HTML::Template on cpan--quite nice for doing this type of thing. Sean On Sep 9, 2004, at 6:20 PM, Ing. Branislav Gerzo wrote: Hi CGIers! I have small

RE: Apache vs Boa error LFLF

2004-09-10 Thread Bob Showalter
Shawn Sharp wrote: I am working on some perl cgi code that works on an apache webserver but I get the following error when I run it on a boa webserver [08/Sep/2004:23:41:09 +] cgi_header: unable to find LFLF. I have tried the following change From: print content-type:

RE: table with variables

2004-09-10 Thread Bob Showalter
Sean Davis wrote: Just print 'table' and '/table' separately. Note that CGI has start_table and end_table methods. If you use function style, you need to import them: use CGI qw(:standard start_table); print start_table; ... print end_table; Actually, you can do this with any

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-10 Thread Chad A Gard
On Sep 9, 2004, at 11:02 PM, Robert Page IV wrote: I am familiar with br. What is the difference between br and br /? In XHTML, all elements need a close. By doing br /, it will work regardless of whether your DTD is for an HTML variant or XHTML. I didn't know which you were using, so

RE: table with variables

2004-09-10 Thread Bob Showalter
Ing. Branislav Gerzo wrote: print table( {-border=undef}, caption('Choose your favourite brand:'), Tr({-align=CENTER,-valign=TOP},), td($items[0], $items[1], $items[2]), td($items[3], $items[4], $items[5]) ); I want print all

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-10 Thread Bruce Alderson
Robert Page IV wrote: Considering I am not parsing HTML, I am actually trying to 'generate' the text formatting I want in a HTML page, there is no need for a HTMl parser that I see. There are quite a few modules that do this too, like Markdown, Textism, and some of the wiki-markup tools. I've