Hello,

I am using perl 623 on win2k, snmp_session v.83, and am trying to write a
script to listen for snmp traps. I tried using the following code example
from the author's website:

require 'SNMP_Session.pm';
use strict;

my $port = 162;
print "waiting for traps....\n";
     my $trap_session = SNMP_Session->open_trap_session ($port)
  || die "cannot open trap session";


Problem is, I get the following error:
####
Can't locate object method "open_trap_session" via package "SNMP_Session"
at tra
p.pl line 10.
####
If I look thru the SNMP_Session.pm file,  open_trap_session is defined..

Any thoughts on what I might be missing appreciated...
Thanks.
chris


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to