Skip Menu |

This queue is for tickets about the DBIx-XHTML_Table CPAN distribution.

Report information
The Basics
Id: 6948
Status: rejected
Priority: 0/
Queue: DBIx-XHTML_Table

People
Owner: Nobody in particular
Requestors: amish_h3 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.36
Fixed in: (no value)



Subject: set_group() error for multiple calls to output()
I've come across the following error with the XHTML_Table module. In the following code $table->output() for the third table fails with the following error: "Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.8.1/DBIx/XHTML_Table.pm line 491." If I comment out the line with $table->set_group() the code works. ------------------------------------------------------ # Function-wide table modifiers $table->modify(table => {class => 'bstyle1',border => '2px',cellspacing => '0',cellpadding => '0',rules => 'all'}); $html .= $q->h1("Table 1"); $table->exec_query($sql_query1,[$date]); $html .= $table->output(); $html .= $q->h1("Table 2"); $table->exec_query($sql_query2,[$date]); $table->set_group('node',1); $html .= $table->output(); $html .= $q->h1("Table 3"); $table->exec_query($sql_query3,[$date]); $html .= $table->output(); ------------------------------------------------------ Other info: Linux Distro: Slackware 9.1 (2.4.26) Perl: v5.8.1 Module: DBIx-XHTML_Table-1.36
cannot reproduce