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 wrong to think that this is better coded as:
( $dbh = DBI->connect($data_source, $username, $password))
|| die $DBI::errstr;
What if the call to 'die' was replaced by some other action, eg 'warn', or
some other error handing routine?
--
David Adams
Computing Services
Southampton University