Help for this page

Select Code to Download


  1. or download this
    $hash_ref = $sth->fetchrow_hashref;
    
    ...
    of data and returns it as a reference to a hash
    containing field name and field value pairs.  Null
    fields are returned as `undef' values in the hash.
    
  2. or download this
    my @rows = @{$dbh->selectcol_arrayref($sql)};