Just print '' and '' 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 question ab
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: t
Sean Davis wrote:
> Just print '' and '' 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 tag, not just
On Sep 9, 2004, at 11:02 PM, Robert Page IV wrote:
I am familiar with . What is the difference between and ?
In XHTML, all elements need a close. By doing , it will work
regardless of whether your DTD is for an HTML variant or XHTML. I
didn't know which you were using, so played it safe.
Ch
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])
> > > )
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 w