Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: perl DBI special variable problem

by idle (Friar)
on Apr 07, 2006 at 05:15 UTC ( [id://541823]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 05: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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://541823]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.