Re: Detecting a module to be used by Makefile.PL

[email protected] (Alberto Simões)
Newsgroups perl.makemaker
Organization Departamento de Informática - Universi dade do Minho
Message-ID <[email protected]>

Adriano Ferreira wrote:
> On Tue, Mar 18, 2008 at 12:37 PM, Alberto Simões
> <[email protected]> wrote:
>> Hi
>>
>>  I need to use a non-core, non-standard module on a Makefile.PL.
>>
>>   - I would like to abort Makefile.PL run if it is not installed;
>>   - I would like it to be installed if being run inside CPAN;
>>
>>  Hints?
> 
> Very recent versions of CPAN has support for 'configure_requires',
> which looks like the right way to do that.

Hmms... that might be a solution when installing the module through 
CPAN. But if the user runs Makefile.PL manually she will get a Can't 
locate module message.

Not yet the thing I would love.

Thanks ;)
ambs

> 
>>  Thanks
>>  ambs
>>  --
>>  Alberto Simões - Departamento de Informática - Universidade do Minho
>>                   Campus de Gualtar - 4710-057 Braga - Portugal
>>
>>

-- 
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.