my ($stmt2, @bind2) = $sql->select(\@tables2, \@fields2, \%where2, \@order2); 27: my $sth2 = $dbh->prepare($stmt2); 28: $sth2->execute(@bind2) 29: or die $errors->output($DBI::errstr);