Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • 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::CheckLoad or something like that.

    • "NoLoad" was intentional (better names welcome). For example:

      use Module::NoLoad
          'Overrides::SIG::DIE' => { silent => 1 };

      Is equivalent to this:

      BEGIN {
          $INC{'lib/Overrides/SIG/DIE.pm'} = 'Module::NoLoad';
      }

      This, of course, silently stops this module from being loaded. The fatal version would require a higher version of Perl:

      use Module::NoLoad
          'Meta', 'Acme::pwn3d';
      __END__
      # equivalent to:
      use Carp;
      BEGIN {
          my %package_for = (
           

      • Oh I didn't get that. :) The name now makes perfect sense, and seems very appropriate.

      • I think Devel::Unplug [cpan.org] does at least some of what you want. If not it can be hacked on in Copenhagen :)
        • 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.