genyded has asked for the wisdom of the Perl Monks concerning the following question:
Any ideas on how to keep this bugger from printing to STDERR??? Here is the begining of the output...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
TIA!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 ... ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Warning will not supresss
by TGI (Parson) on Oct 06, 2007 at 21:43 UTC | |
|
Re: Warning will not supresss
by codeacrobat (Chaplain) on Oct 06, 2007 at 14:32 UTC | |
|
Re: Warning will not supresss
by SFLEX (Chaplain) on Oct 06, 2007 at 13:50 UTC | |
|
Re: Warning will not supresss (BEGIN, -X)
by tye (Sage) on Oct 06, 2007 at 21:28 UTC |