Help for this page

Select Code to Download


  1. or download this
    my $s= 'DBI';
    eval("use $s;");
    ...
        {
        die "$0: ERROR: $s not installed.\n";
        }
    
  2. or download this
    use DBI;
    
  3. or download this
    if (($cat) and (len($cat)==0))
        {
    ...
        writeerr($s);
        exit 1;
        }
    
  4. or download this
    my $dbh= DBI->connect($dsn, $user, $password, { RaiseError => 1, Print
    +Error => 0 });