… | |
… | |
41 | |
41 | |
42 | =cut |
42 | =cut |
43 | |
43 | |
44 | package Net::SNMP::XS; |
44 | package Net::SNMP::XS; |
45 | |
45 | |
46 | use strict qw(vars subs); |
46 | use common::sense; |
47 | no warnings; |
|
|
48 | |
|
|
49 | use Guard; |
|
|
50 | |
47 | |
51 | use Net::SNMP (); |
48 | use Net::SNMP (); |
52 | use Net::SNMP::PDU (); |
49 | use Net::SNMP::PDU (); |
53 | use Net::SNMP::Message (); |
50 | use Net::SNMP::Message (); |
54 | use Net::SNMP::MessageProcessing (); |
51 | use Net::SNMP::MessageProcessing (); |
55 | |
52 | |
56 | our $VERSION; |
53 | our $VERSION; |
57 | |
54 | |
58 | BEGIN { |
55 | BEGIN { |
59 | $VERSION = '1.0'; |
56 | $VERSION = 1.32; |
60 | |
57 | |
61 | # this overrides many methods inside Net::SNMP and it's submodules |
58 | # this overrides many methods inside Net::SNMP and it's submodules |
62 | require XSLoader; |
59 | require XSLoader; |
63 | XSLoader::load Net::SNMP::XS, $VERSION; |
60 | XSLoader::load Net::SNMP::XS, $VERSION; |
64 | } |
61 | } |