Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Re: Re: Re: SNMP MIB files...by idsfa (Vicar) |
on Oct 07, 2003 at 15:04 UTC ( [id://297308]=note: print w/replies, xml ) | Need Help?? |
You could extend the SNMP class to add your needed code to the mib loading method and then SUPER:: it. This would probably be more work than adding the few lines you need. Also, you probably ought to avoid that `ls` construction and go with readdir ...
Which also avoids accidentally trying to add files as MibDirs and is safer and more portable. Remember, when you stare long into the abyss, you could have been home eating ice cream.
In Section
Seekers of Perl Wisdom
|
|