I'm sitting here with my copy of Programming the Perl DBI and I'm confused. The following code hurts my wee little brain
my $dbh = DBI->connect('dbi:mydriver:mydsn',
{AutoCommit=>0, RaiseError=>1});
puny weakling you say... why does this hurt your brain? The comment says that this enables AutoCommit and RaiseError. How is this accomplished by setting one of them to zero and the other to one? This doesn't make sense to me. Traditionally 1 is true and 0 is false, so by quick inspection it would seem that this code disables AutoCommit Can someone make the brain pain go away?
Thanks,
Gry