Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
Idea.
Fatal:
use Module::NoLoad qw(
Acme::pwn3d
Meta
);
Silent:
use Module::NoLoad
'Overrides::SIG::DIE' => { silent => 1 };
Versions (automatically fatal):
use Module::NoLoad
'Some::Versions::Buggy' => { versions => '0.23' },
'Early::Versions::Buggy' => { versions => '-1.99' };
Not sure about the name (Score:1)
I read the name and automatically assumed you were writing something which would unload or not load a module. I couldn't imagine how that would be useful, but that's what I assumed.
Cool idea though. Might suggest calling it
Module::CheckLoador something like that.Re: (Score:2)
"NoLoad" was intentional (better names welcome). For example:
Is equivalent to this:
This, of course, silently stops this module from being loaded. The fatal version would require a higher version of Perl:
Re: (Score:1)
Oh I didn't get that. :) The name now makes perfect sense, and seems very appropriate.
Re: (Score:2)
Re: (Score:2)
That's good to know. My intent is to have a more general purpose module (not just for development), but maybe "devel only" is a better approach.