my $sess = SNMP::Session->new( 'AuthPass' => 'short', 'DestHost' => '1.2.3.4', 'PrivPass' => 'short', 'Retries' => 1, 'SecLevel' => 'authPriv', 'SecName' => 'foobar', 'Timeout' => 1000000, 'Version' => 3, );
Prints directly to STDERR, so that no perl code can access it or prevent it. Perl libraries should not print directly to STDERR. The circumstances are different, but the printing to STDERR is shared by:
Seen on 5.7.2
See Patch #1285 Added logging primitives to perl bindings for a better way to deal with this.