start_table takes it's attributes as a hash-ref, so try start_table({-align=>'center', -border=>0, -cellpadding=>8}) That should work
Paul
| [reply] [d/l] [select] |
C:\>perl -MCGI -e"die CGI->start_table({1..10})"
<table 1="2" 3="4" 7="8" 9="10" 5="6"> at -e line 1.
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] [d/l] |
I thought start_table() just produced a <table>
tag. The various attributes go in table() rather than start_table() (unless things have changed in recent versions.)
chas
(Update: I guess I was mistaken; the attributes can also be put in start_table(); I just never did that. But as has already been noted, they have to be in a hashref.) | [reply] [d/l] |