develooper Front page | perl.module-authors | Postings from November 2003

Re: How to indicate a dependency in my module

Thread Previous | Thread Next
Martyn J. Pearce
November 11, 2003 00:36
Re: How to indicate a dependency in my module
Message ID:
On Mon, Nov 10, 2003 at 03:49:54PM -0500, Randy W. Sims wrote:
> It would be nice to see functionality like this incorporated into a 
> Module::Build::Configure package (or similar) along with other configure 
> type routines common in current Makefile.PLs. Routines that find if libs 
> or executables are installed, find appropriate install paths for 
> installing perl programs that don't belong in the perl tree, etc.

If anyone cares, I have an ExtUtils::MakeMaker wrapper (a single module that's
distributed but not installed with any package) that:

-) If a module is missing, tells you what package to find it in (it's not
   always obvious to find, say, Net::FTP in libnet before you're familiar with

-) Handles "optional" modules, i.e., if it's missing, doesn't die, but does
   issue a message to the user.

-) Can check for executables, too, with versions (by telling it how to look up
   version numbers for that module).

I've attached it for your edification.  Constructive criticisms welcome.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About