#!/usr/bin/perl use DBI; my $dbh = DBI->connect('dbi:Pg:dbname=postgres;host=laddakh','postgres','postgres',{AutoCommit=>1,RaiseError=>1,PrintError=>0});