Help for this page

Select Code to Download


  1. or download this
    {
      push @results, $sth->fetchrow_hashref || last;
      redo;
    }
    
  2. or download this
    @results = @{$sth->fetchall_arrayref({})};
    
  3. or download this
    Currently, a new hash reference is returned for each 
    row.  This will change in the future to return the same
    hash ref each time, so don't rely on the current 
    behaviour.