Read the fine error message. Attributes like RaiseError are both case and
character sensitive (i.e., if you misspell them, they don't work).
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: "Steve Few" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 13:34
Subject: DBD::Oracle INSERT
> NT4, sp6, ASPerl 629, DBI , DBD:: Oracle |see code below|
>
> I was experimenting to get an INSERT working with my DBI - DBD::Oracle,
> however, I can't quite understand the problem. Anyone got any ideas? I'm
>
> completely new to this game.
>
> ERROR output (echoed to DOS window):
>
> Can't set DBI::db=HASH(0x1e00130)->{RaisEerror}: unrecognised attribute
> at D:/Perl/site/lib/DB
> I.pm line 437.
>
> Thanks in advance,
> Steve Few
> Raleigh, NC
>
> -------------------code-----------------------------------------------
> #!usr/bin/perl -w
> use strict;
> use DBI;
> my $can;
> my @row;
> my $dbh =DBI->connect('DBI:Oracle:opn.ambient','Steve','Oracle',
>
> {RaisEerror=>1,Autocommit=>0}
> )
> or die "Couldn't connect to database: " .
> "$DBI::errstr";