in reply to Re: DBI dots
in thread DBI dots
Or after the fact with the magic tied hash interface:$dhb = DBI->connect($dbi, $user, $pass, { RaiseError => 1 });
Then you get an automatic die for each error return from DBI. Very cool.$dbh->{RaiseError} = 1;
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: DBI dots
by jptxs (Curate) on Oct 23, 2000 at 20:38 UTC | |
by lachoy (Parson) on Oct 23, 2000 at 21:00 UTC | |
by merlyn (Sage) on Oct 23, 2000 at 21:05 UTC | |
by lachoy (Parson) on Oct 23, 2000 at 21:16 UTC | |
by jptxs (Curate) on Oct 24, 2000 at 05:06 UTC |