If I know that my query is going to return only one entry, how do I avoid using a loop to gather the returned data? Anything I try just returns me an array reference.
my $result = db_execute($SQL);
foreach(@$result){
my ($title,$body) = @$_;
print $title;
}