Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Module Makefile.PL conditional PREREQ_PM

by bingos (Vicar)
on Feb 02, 2012 at 20:49 UTC ( #951531=note: print w/ replies, xml ) Need Help??


in reply to Module Makefile.PL conditional PREREQ_PM

No CPAN client uses what is listed in META.yml to resolve prereqs, they all run Makefile.PL to determine those.

CPAN clients will use the configure_requires field in META.yml to determine any prereqs that require resolving before Makefile.PL is executed.

Any other prereqs listed in META.yml may or may not be accurate, this is the price for a Turing complete build system

Both v1.4 of the META specification and CPAN::Meta::Spec deal with this using the 'dynamic_config' field.


Comment on Re: Module Makefile.PL conditional PREREQ_PM
Re^2: Module Makefile.PL conditional PREREQ_PM
by DrHyde (Prior) on Feb 03, 2012 at 11:14 UTC
    > No CPAN client uses what is listed in META.yml to resolve prereqs

    Depends on what you mean by client. Tools such as CPAN::FindDependencies and CPANdeps use META.yml for obvious reasons.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2014-07-12 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls