in reply to Count Number of rows retrieved from SELECT

my $res = $dbh->selectall_hashref($stmt, $key); print scalar(keys %$res);
or
my $res = $dbh->selectall_arrayref($stmt); print scalar(@$res);

just try read the f... manual. ^^

language is a virus from outer space.