Help for this page

Select Code to Download


  1. or download this
    #prepare
    my $sth = $dbh->prepare('SELECT * FROM people WHERE lastname = ? AND f
    +irstname = ?');
    
    #execute with list of bindvars
    $sth->execute( $lastname, $firstname );
    
  2. or download this
    use strict;
    use warnings;
    ...
    
       return \@parts;
    }