Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: Dealing with Database Errors

#!/usr/bin/perl
use DBI;
$dbh = DBI->connect('dbi:mysql:database', 'username', 'password',
                    { RaiseError => 1 , AutoCommit => 1});