my $table = DBIx::XHTML_Table->new($data_source,$usr,$pass); $table->exec_query('select foo,baz from bar'); print $table->output();