Re: How do I indicated modules used by Makefile.PL (or Build.PL) ?

2011-08-15 Thread Eric Wilhelm
# from Gabor Szabo # on Tuesday 09 August 2011 00:11: So I tried    configure_requires 'File::Copy::Recursive' = 0;    require File::Copy::Recursive; but that still blows up when I run Makefile.PL That is to be expected. Something outside of Makefile.PL (i.e. the cpan client) needs to have

How do I indicated modules used by Makefile.PL (or Build.PL) ?

2011-08-09 Thread Gabor Szabo
In a distribution I would like to use a module (specifically File::Copy::Recursive ) within Makefile.PL How can I do this? How do you do this? I am using Module::Install so I would be mostly interested in that solution but if you have this solved for the other packaging tools, please do share

Re: How do I indicated modules used by Makefile.PL (or Build.PL) ?

2011-08-09 Thread Torsten Schoenfeld
On 09.08.2011 09:11, Gabor Szabo wrote: So I tried configure_requires 'File::Copy::Recursive' = 0; require File::Copy::Recursive; but that still blows up when I run Makefile.PL Yes, configure_requires is the way to go. If a CPAN client sees that, it will fetch the requirement