Dist::Build::DynamicPrereqs3pm
Support dynamic prerequisites in dist::build
Usage
load_extension("Dist::Build::DynamicPrereqs");evaluate_dynamic_prereqs();
Version
version 0.020
Overview
This extension adds support for configure-time dynamic prerequisites to "Dist::Build".
Delegates
This adds the following delegates to the planner:
evaluate_dynamic_prereqs()
This evaluates the dynamic prerequisites (as CPAN::Requirements::Dynamic) in the metadata, and adds them to the prerequisites.
add_prereq($module, $version = 0, %args)
This adds a specific prerequisite. It takes the following (optional) named arguments:
- •
-
phase
A CPAN::Meta requirement phase: runtime (default), build or test
- •
-
relation
A CPAN::Meta requirement relation: requires (default, recommends or suggests
Copyright and license
This software is copyright (c) 2024 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.