I have one warning...

"Use of uninitialized value in hash element at C:/Perl/site/lib/Locale/SubCountry.pm line 439, <DATA> line 15048."

It will not supress not matter what I do. I've tried perldiag and carping confess to no avail. It's coming from one of the packages included with "use" but, I have no idead which one. Here is the code...

use warnings; #use diagnostics; <-DID NOT GIVE ANY USEFUL INFO #use Carp qw( confess ); <-BLOWS UP THE PERL CI # $SIG{__WARN__} = \&confess; #THIS SUPPRESSES ALL WARNINGS EXCEPT THE ONE ABOVE WHICH PRINTS OUT AT + THE BEGINING OF THE OUTPUT AND IS DRVING ME NUTS!!! local $SIG{__WARN__}=sub{}; use Data::Type qw(:all +W3C); #used to valdiate data types of values use DBD::ODBC; #sql support use File::Find; #file and directory recursion use Log::Log4perl; #log file and vebosity control use Net::Telnet; #telnet support use Switch; #perl switch and case support use XML::Simple; #xml input, output & parsing use Tie::Handle::CSV; #csv support
Any ideas on how to keep this bugger from printing to STDERR??? Here is the begining of the output...

Use of uninitialized value in hash element at C:/Perl/site/lib/Locale/ +SubCountry.pm line 439, <DATA> line 15048. [2007/10/06 06:47:32-INFO]: Establishing Telnet connection to host... [2007/10/06 06:47:32-INFO]: Succesfully connected to host via Telnet ... ...
TIA!

In reply to Warning will not supresss by genyded

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.