Test::CheckDeps(3)
π Test::CheckDeps(3) β your dependency vibe check π
Okay bestie, this is the Test::CheckDeps(3) manual page, hanging out under User Contributed Perl Documentation. It's giving "tiny module, very useful energy." π«Ά
πΈ NAME πΈ
Test::CheckDeps β Check for presence of dependencies. That's the name, that's the whole assignment. No cap. β¨
π VERSION π
version 0.010 β that's the version, bestie. Write it down. π
π¦ SYNOPSIS π¦
The whole setup is literally this:
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.
Like, all testing. On error. The drama of it all. πβ¨
β¨ FUNCTIONS β¨
π§ check_dependencies( [ level ] ) π§
Check dependencies based on a local MYMETA or META file.
The level argument is optional. It can be one of:
requiresβ All 'requires' dependencies are checked (the configure, build, test and runtime phases are always checked, and the develop phase is also tested whenAUTHOR_TESTINGis set).classicβ Asrequires, but 'conflicts' dependencies are also checked.recommendsβ Asclassic, but 'recommends' dependencies are also checked, as TODO tests.suggestsβ Asrecommends, but 'suggests' dependencies are also checked, as TODO tests.
When not provided, level defaults to classic ('requires' and 'conflicts' dependencies are checked).
So yeah, not me picking a level without reading the room. Default is classic, periodt. π
π¦ 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.
Lowkey: that's the "advanced mode" one. The main character is still check_dependencies. π
π AUTHOR π
Leon Timmermans <leont@cpan.org> β that's the author, bestie. Iconic. π«Ά
π 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.
Free software, same terms as Perl 5 β slay. π
okay that's the whole page, bestie π β the footer says perl v5.42.0, dated 2013-11-25, and this is the Test::CheckDeps(3) manual page. mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Test-CheckDeps 0.010-bp160.1.2 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms