http://www.perlmonks.org?node_id=510921


in reply to Re: Passing a database connection
in thread Passing a database connection

Actually
$dbh = $_[0];
or
($dbh) = @_;
or
$dbh = shift(@_);
or
$dbh = shift;
but yes.