Devel::UseAnyFunc, which Clone::Any depends on, uses eval { require $pm } to check for available modules. It does not check whether the call of the clone function succeeds.
Yup; I basically assumed that if the module is installed, it will work.
The code for Devel::UseAnyFunc is fairly simple, so you could build your own version of it that also did this extra check before deciding which function to import.
In reply to Re^4: Bundling a module with a distribution
by simonm
in thread Bundling a module with a distribution (cross-platform)
by anjoschu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |