Skip to content

Instantly share code, notes, and snippets.

@wchristian
Created October 20, 2011 13:12
Show Gist options
  • Save wchristian/1301108 to your computer and use it in GitHub Desktop.
Save wchristian/1301108 to your computer and use it in GitHub Desktop.
use DBI;
my $d = DBI->connect( "DBI:mysql:database=cpanstats;hostname=localhost", 'root', 'passwordhere', { RaiseError => 1 } );
$d->do( 'this should die' );
die if $DBI::errstr;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment