Subject: | HTML::Table - Output behavior when Table is empty |
I have just moved my script to a new server which included a up to date
version of HTML::Table (2.07-beta). Then I noticed the following string
appear in my output: No table body rows
It appears that when the table is empty that string is now being
returned when the getTable method is called, where as in past releases
an empty string was returned. I'm hoping that this is just an over site
as currently a beta release is being distributed.
Version: 2.07-beta
894 if ((! $self->{tbody}[0]{last_row}) || (!
$self->{last_col})) {
895 return "<p>No table body rows</p>\n"; # no rows
or no cols
896 }
Version: 2.06
651 if ((! $self->{last_row}) || (! $self->{last_col})) {
652 return ; # no rows or no cols
653 }
Thanks,
--
Erik Tank
Programmer/System Administrator
Atjeu Hosting
erik@atjeu.com