in reply to perl DBI special variable problem

It seems not related to $ora_errstr="", rather you have something like $DBI::errstr=$var in your code.

Replies are listed 'Best First'.
Re^2: perl DBI special variable problem
by renu (Initiate) on Apr 07, 2006 at 09:22 UTC
    $ora_errstr=""; and $DBI::errstr=""; give same error
      You can't set a value to a read-only variable, why are you trying?
      The error string for a given handle is reset at most DBI method calls, so you shouldn't need to reset it.
        In my application, most of the files include $ora_errstr=""; line. Earlier it was working fine.Now since we upgraded perl, oraperl(DBI & DBD). All these scripts are failing due to this initialization. We can remove those lines($ora_errstr="";) but it needs lot of effort. I'm not sure how come it was working for previous versions not for new versions. Can anyone help?