in reply to storing database handle object in a variable
$dbhVar = $dbh; my $qryDbi = $dbiVar->prepare("some query"); [download]