Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to disable SQL Warning in DBI.pm

by mje (Curate)
on Mar 18, 2014 at 08:39 UTC ( #1078739=note: print w/ replies, xml ) Need Help??


in reply to How to disable SQL Warning in DBI.pm

What version of DBI are you using? I ask because Changes in DBI 1.630 says "NOTE: This release enables PrintWarn by default regardless of $^W. Your applications may generate more log messages than before." May be there is a problem with that change.


Comment on Re: How to disable SQL Warning in DBI.pm
Replies are listed 'Best First'.
Re^2: How to disable SQL Warning in DBI.pm
by Anonymous Monk on Mar 18, 2014 at 12:20 UTC
    We are using DBI version 1.607, setting PrintWarn to 0, doesn't work.

      And your script uses -w?

      Please re-read mje's post, and/or try to upgrade to recent DBI (in a local folder) and see if that fixes your problem


      Enjoy, Have FUN! H.Merijn
        nope, not using -w, we upgraded last night to a later version, but didn't set PrintWarn to 0, will upgrade again later and set PringWarn to 0 to see if it fix the issue.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1078739]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2015-07-28 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls