Guest User

Untitled

a guest
Apr 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use DBI;
  4. use strict;
  5.  
  6. my $DSN = 'dbi:Pg:host=localhost;dbname=bestweb';
  7. my $USER = 'postgres';
  8. my $PASS = '';
  9. my $db;
  10.  
  11. $db = DBI->connect($DSN,$USER,$PASS,{AutoCommit=>1,RaiseError=>1});
Add Comment
Please, Sign In to add comment