On 3/16/07, Jasbinder Singh Bali <jsbali@gmail.com> wrote:
> just wondeng why doesn't it let me put
> my $dbh=DBI->connect("dbi:Pg:dbname=dbunmask;
> host=192.168.0.120; port=5432;", "", "");
> in eval
you dont need to put ->connect in eval.
just set connect option 'raiseerror' to 0 (and printerror as well). in
this situation it will simply set errorcode. no eval{} required.
depesz