Perl::PrereqScanner::Scanner(3) User Contributed Perl Documentation Perl::PrereqScanner::Scanner(3)

# [DESCRIPTION](#DESCRIPTION)

This is a role to be composed into classes that will act as scanners plugged into a Perl::PrereqScanner object.

These classes must provide a "scan\_for\_prereqs" method, which will be called like this:

```
  $scanner->scan_for_prereqs($ppi_doc, $version_requirements);
```

The scanner should alter the CPAN::Meta::Requirements object to reflect its findings about the PPI document.

2026-06-28 perl v5.42.2

---

Document: Perl::PrereqScanner::Scanner(3pm) from perl-perl-prereqscanner 1.100-r5 (Chainguard OS)
Source: https://github.com/rjbs/Perl-PrereqScanner
