Help for this page
sub first_row { my ($dbh, $query, @args) = @_ ... my ($success, $first_result) = first_row($dbh, "SELECT ... "); # and if you don't want to actually check success my $second_result = first_row(...);