Re: Configure Dependency

Zefram <[email protected]> Tue, 30 Mar 2010 16:15:54 +0100
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
Alberto Sim?es wrote:
>While it gets into META.yml, this file is read only if CPAN has YAML
>support.

Less of a problem these days.  Parse::CPAN::Meta is now in the core, so
CPAN.pm now does configure_requires processing out of the box.  Of course,
you'll still get problems on older installations that have somehow missed
out on installing any YAML modules or a sufficiently recent CPAN.pm.

>If not, it will run Build.PL anyway, and will fail.

This failure is very transparent.  It says which module it failed
to load, which is a nice big clue for the user to install it first
(manually handling the dependency).  So overall I wouldn't worry about it.

-zefram