Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

test::checkdeps5.18(3) [mojave man page]

Test::CheckDeps(3)					User Contributed Perl Documentation					Test::CheckDeps(3)

NAME
Test::CheckDeps - Check for presence of dependencies VERSION
version 0.010 SYNOPSIS
use Test::More 0.94; use Test::CheckDeps 0.007; check_dependencies(); done_testing(); DESCRIPTION
This module adds a test that assures all dependencies have been installed properly. If requested, it can bail out all testing on error. FUNCTIONS
check_dependencies( [ level ]) Check dependencies based on a local MYMETA or META file. The "level" argument is optional. It can be one of: o requires All 'requires' dependencies are checked (the configure, build, test and runtime phases are always checked, and the develop phase is also tested when AUTHOR_TESTING is set) o classic As "requires", but 'conflicts' dependencies are also checked. o recommends As "classic", but 'recommends' dependencies are also checked, as TODO tests. o suggests As "recommends", but 'suggests' dependencies are also checked, as TODO tests. When not provided, "level" defaults to "classic" ('requires' and 'conflicts' dependencies are checked). check_dependencies_opts($meta, $phase, $type) Check dependencies in CPAN::Meta object $meta for phase $phase (configure, build, test, runtime, develop) and type $type(requires, recommends, suggests, conflicts). You probably just want to use "check_dependencies" though. AUTHOR
Leon Timmermans <leont@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 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. perl v5.18.2 2013-10-09 Test::CheckDeps(3)

Check Out this Related Man Page

CPAN::Meta::Check(3)					User Contributed Perl Documentation				      CPAN::Meta::Check(3)

NAME
CPAN::Meta::Check - Verify requirements in a CPAN::Meta object VERSION
version 0.008 SYNOPSIS
warn "$_ " for verify_requirements($meta, [qw/runtime build test/], 'requires'); DESCRIPTION
This module verifies if requirements described in a CPAN::Meta object are present. FUNCTIONS
check_requirements($reqs, $type, $incdirs) This function checks if all dependencies in $reqs (a CPAN::Meta::Requirements object) are met, taking into account that 'conflicts' dependencies have to be checked in reverse. It returns a hash with the modules as keys and any problems as values; the value for a successfully found module will be undef. Modules are searched for in @$incdirs, defaulting to @INC. verify_dependencies($meta, $phases, $types, $incdirs) Check all requirements in $meta for phases $phases and types $types. Modules are searched for in @$incdirs, defaulting to @INC. $meta should be a CPAN::Meta::Prereqs or CPAN::Meta object. requirements_for($meta, $phases, $types) This function is deprecated and may be removed at some point in the future, please use CPAN::Meta::Prereqs->merged_requirements instead. This function returns a unified CPAN::Meta::Requirements object for all $type requirements for $phases. $phases may be either one (scalar) value or an arrayref of valid values as defined by the CPAN::Meta spec. $type must be a relationship as defined by the same spec. $meta should be a CPAN::Meta::Prereqs or CPAN::Meta object. SEE ALSO
o Test::CheckDeps o CPAN::Meta AUTHOR
Leon Timmermans <leont@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 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. perl v5.18.2 2013-10-17 CPAN::Meta::Check(3)
Man Page