http://www.perlmonks.org?node_id=1078739


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.