Help for this page
my $values_array=${$dbh2->selectall_arrayref($query1)};
my $values_array = $dbh2->selectall_arrayref($query1)