Help for this page

Select Code to Download


  1. or download this
    my $conn = DBI->connect("dbi...);
    
    ...
     my $conn = shift;
     ...
    }
    
  2. or download this
    use somepackage;
    
    ...
    
    __END__
    
  3. or download this
    sub connectdb {
        my $user       = 'user';
    ...
        return (DBI->connect("dbi:Oracle:host=$host;sid=$sid", $user, $pas
    +sword,
            {PrintError => 1, RaiseError => 1, AutoCommit => 0}));
    }