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

# [SYNOPSIS](#SYNOPSIS)

```
 warn "$_\n" for verify_dependencies($meta, [qw/runtime build test/], 'requires');
```

# [DESCRIPTION](#DESCRIPTION)

This module verifies if requirements described in a CPAN::Meta object are present.

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.

Check all requirements in $meta for phases $phases and type $type. Modules are searched for in @$incdirs, defaulting to @INC. $meta should be a CPAN::Meta::Prereqs or CPAN::Meta object.

**This function is deprecated and may be removed at some point in the future, please use CPAN::Meta::Prereqs-&gt;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](#SEE_ALSO)

- Test::CheckDeps
- CPAN::Meta

# [POD ERRORS](#POD_ERRORS)

Hey! **The above document had some coding errors, which are explained below:**

[Around line 82:](#Around)

Unknown directive: =func

[Around line 86:](#Around~2)

Unknown directive: =func

[Around line 90:](#Around~3)

Unknown directive: =func

2026-08-26 perl v5.44.0

---

Document: CPAN::Meta::Check(3pm) from perl-cpan-meta-check 0.018-r4 (Chainguard OS)
Source: https://github.com/Leont/cpan-meta-check
