Help for this page

Select Code to Download


  1. or download this
     unless ( $attr->{HandleError} && 
              $attr->{HandleError}->($msg, $drh, $dbh)) 
    ...
        Carp::croak($msg) if $attr->{RaiseError};
        Carp::carp ($msg) if $attr->{PrintError};
    }
    
  2. or download this
    Carp::croak('Usage: $class->connect([$dsn [,$user [,$passwd [,\%attr]]
    +]])')
        if (ref $old_driver or ($attr and not ref $attr) or ref $pass);