CPAN::Meta::Requirements(3p) Perl Programmers Reference Guide
CPAN::Meta::Requirements(3p) Perl Programmers Reference Guide # CPAN::Meta::Requirements(3p) Perl Programmers Reference Guide NNAAMMEE # CPAN::Meta::Requirements - a set of version requirements for a CPAN dist VVEERRSSIIOONN # version 2.140 SSYYNNOOPPSSIISS # use CPAN::Meta::Requirements; my $build_requires = CPAN::Meta::Requirements->new; $build_requires->add_minimum('Library::Foo' => 1.208); $build_requires->add_minimum('Library::Foo' => 2.602); $build_requires->add_minimum('Module::Bar' => 'v1.2.3'); $METAyml->{build_requires} = $build_requires->as_string_hash; DDEESSCCRRIIPPTTIIOONN # A CPAN::Meta::Requirements object models a set of version constraints like those specified in the _M_E_T_A_._y_m_l or _M_E_T_A_._j_s_o_n files in CPAN distributions, and as defined by CPAN::Meta::Spec; It can be built up by adding more and more constraints, and it will reduce them to the simplest representation. ...