in reply to Re: Unable to suppress warnings using PAR-Packer on Win32 with Strawberry Perl
in thread Unable to suppress warnings using PAR-Packer on Win32 with Strawberry Perl

Yes, by "same version", I mean the exact same module installed on both UNIX and Windows -- UNIX does not show the warnings, but Windows does. I have not tried this on Windows with an earlier version of Perl (mainly because that seems like more of a kludge than a fix). But you are correct that the Perl I have installed on UNIX is 5.8 whereas on Windows it is 5.12, which appears to explain the discrepancy there.

But to the more important point of addressing the warnings...I've already tried "no warnings 'deprecated'" -- that's a subset of "no warnings", which I also tried. The warnings still persist. The only way I've been able to suppress the warnings is with the -X flag, and that doesn't carry over to the packed executable (for an as yet unknown reason). So outside of downgrading to Perl 5.8 or modifying Net::SNMP code, are you aware of any fix?

  • Comment on Re^2: Unable to suppress warnings using PAR-Packer on Win32 with Strawberry Perl