.pl

5 claimants 4 primary 1 secondary shared primary (4)

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

5.4M
total occurrences
940.2K
since 2019 (17.3%)
1970–2023
years active

Case variants in archive: .pl (5.0M), .PL (415.7K), .Pl (97), .pL (28) — aggregated above.

Attribution status

This extension is attributed to Perl; Perl; Perl 6; Prolog; Prolog; Raku (programming language) as primary by 6 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✓ Wikidata · Q163468 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (10)

Languages that list .pl among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Perllinguistprimary
Perlpygmentsprimary
Perl 6pygmentsprimary
Prologlinguistprimary
Prologwikidataprimary
Raku (programming language)pygmentsprimary
ECLiPSepygmentssecondary
Perl 6linguistsecondary
Prologpygmentssecondary
Perlwikidatadeprecated

Wikidata says… (6)

File formats, image formats, audio codecs and other non-PL entities that claim .pl on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
Pantry Files Q66310989
file format
file formatUse as new PL ↗
Perl script Q34284525
file format
file formatapplication/x-httpd-perl; application/x-perl; text/x-perlUse as new PL ↗
PhotoList Q105866246
file format
file formatapplication/octet-streamUse as new PL ↗

Disambiguation rules (3)

Linguist heuristics that decide, by content, which language a .pl file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.pl/0Prologpredicates[{"kind": "any", "regexes": ["^[^#]*:-"]}]
h/linguist/.pl/1Perlpredicates[{"kind": "not_any", "regexes": ["^\\s*use\\s+v6\\b"]}, {"kind": "any", "regexes": ["\\buse\\s+(?:strict\\b|v?5\\b)", "^\\s*use\\s+(?:constant|overload)\\b", "^\\s*(?:\\*|(?:our\\s*)?@)EXPORT\\s*=", "
h/linguist/.pl/2Perl 6predicates[{"kind": "any", "regexes": ["^\\s*(?:use\\s+v6\\b|\\bmodule\\b|\\b(?:my\\s+)?class\\b)"]}]

SWH-mined examples (0)

No archived examples for .pl in our local mirror yet.

Need an archived example for this extension?
No verbatim file with extension .pl in our local SWH mirror yet. Submit a sample-mining request and a maintainer will run swh_extension_mining.py against the live archive for this extension; samples land here once the run completes.
(or open the pre-filled issue directly)