Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Module Makefile.PL conditional PREREQ_PM

by bingos (Vicar)
on Feb 02, 2012 at 20:49 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://951531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-19 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found