--- Richard Krause <[EMAIL PROTECTED]> wrote:
> I found out what the problem is. If you write
>
> $q->table({-border=>undef},
>#caption('When Should You Eat Your
> Vegetables?'),
>
> ... ...
>
> instead of
>
> print table({-border=>undef},
>caption('When Should You Eat Y
I found out what the problem is. If you write
$q->table({-border=>undef},
#caption('When Should You Eat Your Vegetables?'),
$q->Tr({-align=>CENTER,-valign=>TOP},
[
$q->th(['Vegetable', 'Breakfast','Lunch','Dinner']),
$q->td(['Tomatoes' , 'no'
"Richard Krause" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all
> (...)
> #td(['Broccoli' , 'no', 'no', 'yes']),
> #td(['Onions' , 'yes','yes', 'yes'])
> #]
> #)
missing
Richard,
You did take that from the 'Rat' book, but in the book
use CGI qw( standard );
Allows the author to use an implicit $q-> so he can write table
where as you need to write $q->table, $q->Tr, $q->td etc.
HTH
"Richard Krause" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
Hi all
I'd like to generate a html page in a subroutine of my guestbook but I get a
syntax error pointing to the line where $q->end_html; is written as soon as
I include a table. If executed without the table, the script runs well. (the
table is copied from perldoc.cgi and its content will be rep