I'm trying to access enums for varbinds and I end up with error saying
"uninitialized value in hash element"

Code:
@foreach $noti notifications@
  @foreach $varb varbinds@
     @if $varb.enums@
       (
       @foreach $vare $varv enum@
          varbing-enum====$varv $vare
       @end@
       )
    @end@
  @end@
@end@

Error:
Use of uninitialized value in hash element at
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/SNMP.pm line
1366, <GEN0> line 68263.

The "@if $varb.enums@" executes successfully, but the enum values are not
printed out. Can someone help?

Eric
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to