in reply to
Passing arguments
For DBI calls like this, where I don't want to specify any attributes, I just pass in an empty anonymous hash as the second argument:
$sth = $dbh->prepare_cached($statement, {}, $allow_active);
Comment on
Re: Passing arguments
Download
Code
In Section
Seekers of Perl Wisdom