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

Re: How to indicate a dependency in my module

Thread Previous | Thread Next
From:
Martyn J. Pearce
Date:
November 11, 2003 00:36
Subject:
Re: How to indicate a dependency in my module
Message ID:
20031111083437.GF13553@chrome.sixears.co.uk
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
   libnet)

-) 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.

Mx.
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About