Re: Insertion of table causes syntax error-message

2002-06-04 Thread John Brooking
--- 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

Re: Insertion of table causes syntax error-message

2002-06-03 Thread Richard Krause
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'

Re: Insertion of table causes syntax error-message

2002-05-30 Thread Todd Wade
"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

Re: Insertion of table causes syntax error-message

2002-05-30 Thread Dave K
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

Insertion of table causes syntax error-message

2002-05-30 Thread Richard Krause
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