Skip to content

PERL

Linters

Linter Additional
perlcritic
PERL_PERLCRITIC
GitHub stars

Linted files

  • File extensions:
    • .pl
    • .pm
    • .t
    • ``
  • Detected file content:
    • ^#!/usr/bin/env perl
    • ^#!/usr/bin/perl

Configuration in MegaLinter

Variable Description Default value
PERL_PRE_COMMANDS List of bash commands to run before the linters None
PERL_POST_COMMANDS List of bash commands to run after the linters None
PERL_FILTER_REGEX_INCLUDE Custom regex including filter
PERL_FILTER_REGEX_EXCLUDE Custom regex excluding filter

Behind the scenes

Installation