Home > Archive > PERL CGI Beginners > March 2006 > cgi::wml problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| 'black' 2004-11-09, 4:45 pm |
| hi!
i'm trying to write a cgi::wml script to display a table. the problem is that the man page of this module is very weak in information. so, a simple table, 1 raw, 1 column:
$cgi->p($cgi->table($cgi->tr($cgi->td("mama"))))
of course it doesn't work because i didn't specified the number of columns in the table tag. it doesnt work either by:
$cgi->p($cgi->table(-columns=>'1',-content=>$cgi->tr($cgi->td("mama"))))
anyone knows the syntax for this ? | |
| shin0301 2006-03-21, 9:53 am |
| quote: Originally posted by 'black'
hi!
i'm trying to write a cgi::wml script to display a table. the problem is that the man page of this module is very weak in information. so, a simple table, 1 raw, 1 column:
$cgi->p($cgi->table($cgi->tr($cgi->td("mama"))))
of course it doesn't work because i didn't specified the number of columns in the table tag. it doesnt work either by:
$cgi->p($cgi->table(-columns=>'1',-content=>$cgi->tr($cgi->td("mama"))))
anyone knows the syntax for this ?
|
|
|
|
|