Dist::...Prereqs(3pm)
π NAME π
Dist::Build::DynamicPrereqs β bestie, this is the plugin that lets Dist::Build handle dynamic prerequisites. Support dynamic prerequisites in Dist::Build, periodt.
β¨ VERSION β¨
version 0.020 π
π¦ SYNOPSIS π¦
load_extension("Dist::Build::DynamicPrereqs");
evaluate_dynamic_prereqs();
πΈ DESCRIPTION πΈ
Okay so here's the tea β: this extension adds support for configure-time dynamic prerequisites to Dist::Build. That's the whole vibe. Iconic.
π DELEGATES π
It adds the following delegates to the planner, and honestly? They're both serving:
π
evaluate_dynamic_prereqs()
This one evaluates the dynamic prerequisites (as CPAN::Requirements::Dynamic) that are chillin' in the metadata, and then adds them to the prerequisites. Slay.
π add_prereq($module, $version = 0, %args)
This adds one specific prerequisite. Note the $version = 0 β that's the default, no cap. It also takes these optional named arguments:
phaseβ aCPAN::Metarequirement phase. Your options areruntime(the default, lowkey the main character),build, ortest.relationβ aCPAN::Metarequirement relation. Options arerequires(the default),recommends, orsuggests.
π«Ά AUTHOR π«Ά
Leon Timmermans <fawaka@gmail.com>
π 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. π
And that's the whole page, bestie β brought to you by the User Contributed Perl Documentation crew, perl v5.40.1, dated 2025-05-11. Go forth and prereq dynamically π
β¨
π¦ where this page comes from
- debian trixie: libdist-build-perl 0.020-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libdist-build-perl 0.020-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms