diff --git a/README b/README index 64885ab8..2db8f99f 100644 --- a/README +++ b/README @@ -36,8 +36,8 @@ SYNOPSIS my $err = $info->error(); die "SNMP Community or Version probably wrong connecting to device. $err\n" if defined $err; - $name = $info->name(); - $class = $info->class(); + my $name = $info->name(); + my $class = $info->class(); print "SNMP::Info is using this device class : $class\n"; # Find out the Duplex status for the ports @@ -208,7 +208,7 @@ SUBCLASSES See documentation in SNMP::Info::AMAP for details. SNMP::Info::Bridge - BRIDGE-MIB (RFC1286). QBRIDGE-MIB. Inherited by devices with Layer2 + BRIDGE-MIB (RFC1286). Q-BRIDGE-MIB. Inherited by devices with Layer2 support. See documentation in SNMP::Info::Bridge for details. diff --git a/lib/SNMP/Info.pm b/lib/SNMP/Info.pm index 757c7f10..f1642c56 100644 --- a/lib/SNMP/Info.pm +++ b/lib/SNMP/Info.pm @@ -69,8 +69,8 @@ list any missing functionality (such as neighbor discovery tables). my $err = $info->error(); die "SNMP Community or Version probably wrong connecting to device. $err\n" if defined $err; - $name = $info->name(); - $class = $info->class(); + my $name = $info->name(); + my $class = $info->class(); print "SNMP::Info is using this device class : $class\n"; # Find out the Duplex status for the ports @@ -260,7 +260,7 @@ See documentation in L for details. =item SNMP::Info::Bridge -F (RFC1286). F. Inherited by devices with Layer2 +F (RFC1286). F. Inherited by devices with Layer2 support. See documentation in L for details.