in reply to Re^3: Bundling a module with a distribution
in thread Bundling a module with a distribution (cross-platform)
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Bundling a module with a distribution
by anjoschu (Sexton) on Jan 03, 2005 at 09:29 UTC |