Help for this page

Select Code to Download


  1. or download this
    foreach my $sql (@sql) {
           unless ($sth=run_sql($sql)){
    ...
    }
    #Use them like this...
    my $result = $sth->fetchall_arrayref;
    
  2. or download this
    #
    #run_sql
    ...
    
    return $sth;
    } # run_sql