FOSSA supports Perl projects through cpan.

ToolCLI (fossa-cli) and Quick Import
perl / cpan(MY)META.(yml/json)

Quick Import (app.fossa.com)

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

CLI (fossa-cli)

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.