- assigned_to: nobody --> mdisney
ACD.pm is only receiving one parameter for the
selectall_hashref call to get $rname_map. Error from
index.pl:
SNIPSNIPSNIP
DBI selectall_hashref: invalid number of parameters:
handle + 1
Usage: $h->selectall_hashref($statement, $keyfield [,
\%attr [, @bind_params ]
]) at ACD.pm line 17.
SNIPSNIPSNIP
Here's ACD.pm line 16,17:
SNIPSNIPSNIP
my $query = "SELECT * from name_map";
my $rname_map=$dbh->selectall_hashref($query);
SNIPSNIPSNIP
Looks like the $keyfield is missing, I think the $query
does belong where it is (as the $statement parameter).
We just need to figure out what the best choice for a
$keyfield would be. This is only used in
web/scripts/index.pl for the web interface I think.
Matt