Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect("dbi:driver:database",
        "user","password", 
    ...
         print "There was an error ($DBI::errstr)\n";
         # do something appropriate
    }
    
  2. or download this
    my $sql = "INSERT INTO t1 (lsname) VALUES ( ? )";
    my $sth;
    ...
         # do something appropriate
    }
    
  3. or download this
     _  _ _  _  
    (_|| | |(_|><
     _|