Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect("dbi:mysql:db", "user", "pass",
                  { AutoCommit => 1, RaiseError => 1})
    ...
    my $qry = $dbh->prepare("SELECT location FROM people")
                    or die &error_out;  
    $qry->execute or die &error_out;
    
  2. or download this
    $qry->give_me_the_size_of_the_resultset; ?  :)