.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.
Claimants (10)
Languages that list
.pl among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Perl | linguist | primary |
| Perl | pygments | primary |
| Perl 6 | pygments | primary |
| Prolog | linguist | primary |
| Prolog | wikidata | primary |
| Raku (programming language) | pygments | primary |
| ECLiPSe | pygments | secondary |
| Perl 6 | linguist | secondary |
| Prolog | pygments | secondary |
| Perl | wikidata | deprecated |
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.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Pantry Files Q66310989 file format | file format | — | — | — | Use as new PL ↗ |
| Perl script Q34284525 file format | file format | — | application/x-httpd-perl; application/x-perl; text/x-perl | — | Use as new PL ↗ |
| PhotoList Q105866246 file format | file format | — | application/octet-stream | — | Use as new PL ↗ |
Disambiguation rules (3)
Linguist heuristics that decide, by content, which language a
.pl file actually is.| Rule | Predicts | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.pl/0 | Prolog | predicates | [{"kind": "any", "regexes": ["^[^#]*:-"]}] |
h/linguist/.pl/1 | Perl | predicates | [{"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/2 | Perl 6 | predicates | [{"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.