Help for this page

Select Code to Download


  1. or download this
      # Can this fail without throwing an exception anyways???
      my $rv = $sth->execute();
      $self->throw_exception(
        $sth->errstr || $sth->err || 'Unknown error: execute() returned fa
    +lse, but error flags were not set...'
      ) if !$rv;
    
  2. or download this
    use 5.014;
    use strict;
    ...
    }
    
    done_testing;
    
  3. or download this
    ok 1 - The object isa DBI::db
    ok 2 - The object isa DBI::st
    ...
    ok 7 - $sth->finish
    1..7
    # Looks like you failed 1 test of 7.
    
  4. or download this
    ok 1 - The object isa DBI::db
    ok 2 - The object isa DBI::st
    ...
    ok 6 - defined: '0E0'
    ok 7 - $sth->finish
    1..7