Re: Error handling in Perl

2001-02-01 Thread Tim Bunce
On Thu, Feb 01, 2001 at 10:09:57AM -, David Adams wrote: > I'm new to the DBI module and have had no previous experience of the OO > style which the DBI module uses. I'm puzzled by some of the examples given > in the DBI perldoc, for example: > >$dbh = DBI->connect($data_source,

Error handling in Perl

2001-02-01 Thread David Adams
I'm new to the DBI module and have had no previous experience of the OO style which the DBI module uses. I'm puzzled by some of the examples given in the DBI perldoc, for example: $dbh = DBI->connect($data_source, $username, $password) || die $DBI::errstr; Am I w