Help for this page

Select Code to Download


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