Feature in Beta

FOSSA's support for Perl projects is currently in Beta

FOSSA supports Perl projects through cpan.

ToolRepository ScanningCI/CD Scanning
perl / cpancpanfile, Makefile.PL, Build.PL, (MY)META.(yml/json)(MY)META.(yml/json)

Repository Scanning

When Perl code is imported, FOSSA will seek and analyze the following files for license and dependency information:

  • cpanfile
  • Makefile.PL
  • Build.PL
  • (MY)META.(yml/json)

Along with parsing these files, FOSSA will run the cpanm command line tool to discover dependencies brought in dynamically by CPAN.

Once dependencies are found, they are resolved against the CPAN ElasticSearch index.

Currently, FOSSA's Repository Scanning infrastructure uses Perl v5.18.2

CI/CD Scanning

To get started, install the latest release of fossa-cli from our GitHub releases page:

curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash

Once installed, run fossa analyze inside of your repo's root directory to analyze your Perl project.

You can view our extended documentation for Perl here.

Package Data

FOSSA supports any packages available in the CPAN master registry.

Declared licenses in (MY)META.(yml/json) files will be recognized as well as any licenses picked up in a full package-wide code audit.