class

Analyzer::Perl::PerlEngine

Inherits FileScanEngine < Analyzer < FileHelper < Reference < Object

Constants

PERL_MANIFEST_BASENAMES = ["cpanfile", "cpanfile.snapshot", "Makefile.PL", "Build.PL", "dist.ini", "META.json", "META.yml", "META.yaml"] of ::String

Perl dependency manifests. cpanfile and Makefile.PL are the common pair; Build.PL, dist.ini and the generated META.* cover the Module::Build / Dist::Zilla layouts.

PERL_SOURCE_EXTENSIONS = [".pl", ".pm", ".psgi", ".t"]

Perl ships in .pl, .pm, .psgi, and .t. Pull those from the extension index instead of walking the whole monorepo file_map. Adapters still re-filter inside analyze_file for framework-specific rules (e.g. skipping .t tests). Paths are detector-registered regular files — no per-path File.exists? / File.directory?.