Subject: | option to forego DBM::Deep |
Date: | Wed, 07 Jul 2010 10:59:10 -0500 |
To: | bug-Net-MAC-Vendor [...] rt.cpan.org |
From: | Matt Zagrabelny <mzagrabe [...] d.umn.edu> |
Greetings,
Thanks for writing Net::MAC::Vendor, it is very useful.
I am encountering an issue though:
I've got DBM::Deep installed and I would like to *not* use it with
Net::MAC::Vendor.
The attached patch allows you to choose whether Net::MAC::Vendor uses
DBM::Deep, it works for me and should not break any scripts that use
1.18.
It would allow users to do something like:
use Net::MAC::Vendor;
Net::MAC::Vendor::set_cached(use_dbm_deep => 0);
Net::MAC::Vendor::load_cache();
my $info = Net::MAC::Vendor::fetch_oui_from_cache('00:10:18:5c:c3:ad');
or omit the set_cached line and the module functions just as it had
before.
Please consider merging the patch into upstream.
Thanks for your contribution to free software!
Sincerely,
--
Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 4096R/42A00942 2009-12-16
Fingerprint: 5814 2CCE 2383 2991 83FF C899 07E2 BFA8 42A0 0942
He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot
Message body is not shown because sender requested not to inline it.
Message body not shown because it is not plain text.