in reply to DBI fetchall_hashref convert to scalar
my $param = join(q{, }, map{qq{$_ => $ref2->{$_}}} keys %$ref2); [download]