in reply to DBI problem on fetchrow

You've just been given a reasonable answer in the CB.
my $sth = $dbh->prepare("SELECT MAX(M.Score) as score FROM Regions M +"); die "can't blah ..." unless $sth && $sth->execute(); my $score = (($sth->fetchrow_hashref) || {})->{score};

-David