modperl-module::require

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: modperl@apache.org
From: James G Smith <JGSmith@TAMU.Edu>
Subject: [ANNOUNCE] Module::Require
Date: Mon, 17 Dec 2001 15:53:27 -0600

Module::Require allows regular expressions or globs to be used for loading
modules.  For example:

  require_regex qw[ DBD::.* ];
OR
  require_glob  qw[ DBD::* ];

will both load all of the available DBD:: modules, returning a list of
existing files that could not be loaded.

Both functions take multiple arguments, working on each in turn and
returning a combined list of failed loads.

I thought this might be useful if someone wrote an application framework
that imported certain modules but didn't want to know what they were
beforehand.

  file: $CPAN/authors/id/J/JS/JSMITH/Module-Require-0.02.tar.gz
  size: 2362 bytes
   md5: 9202900c90fed83e5722575566a26eba

Version 0.01 forgot to set @ISA :/

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu