I've received a request for
DBM::Deep to allow for pure-perl versions of various modules, such as
Digest::MD5 and
Digest::MD5::Perl. The solution when loading is to eval the use and fail appropriately. However, I'm not quite sure how to do the dependencies for Module::Build (or ExtUtils::MakeMaker). Essentially, I want to go through the following steps:
- Do you have Digest::MD5 installed?
- If not, do you have Digest::MD5::Perl installed?
- If not, ask which one you want to have installed.
Is this a feature of MB or EUMM? If not, what would the simplest way of putting this into my Build.PL (or Makefile.PL - I'm willing to switch back) be?
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?