in reply to Re: Error messages from DBI (\%attr)
in thread Error messages from DBI

I changed the connect() to this: my $dbh = DBI->connect($dsn,$user,$password) or die $DBI::errstr; That gets me past the syntax warning and the HASH error. Now Perl can't find DBD/Oracle.pm, but that's a different issue. Thanks for your help.

Replies are listed 'Best First'.
Re^3: Error messages from DBI (\%attr)
by radiantmatrix (Parson) on Jun 12, 2008 at 20:37 UTC

    You do realize that you've not turned on the RaiseError and not turned of AutoCommit, right? Read the parent again, you'll want to use his syntax -- all you were missing was a pair of braces.

    <radiant.matrix>
    Ramblings and references
    “A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort.” — Herm Albright
    I haven't found a problem yet that can't be solved by a well-placed trebuchet