Subject: | Incorrect description of parameters to "new" function" |
function "new" is described as having a third optional parameter, shown
in the example as being an anonymous hash:
my $report = DBIx::Report::Excel->new(
"Excel.xls",
{
dbh => DBI->connect("dbi:SQLite:dbname=testdb","","")
sql => 'SELECT * FROM names',
}
);
The code does not support this. In order to work the example needs to be
changed to:
my $report = DBIx::Report::Excel->new(
"Excel.xls",
dbh => DBI->connect("dbi:SQLite:dbname=testdb","","")
sql => 'SELECT * FROM names',
);