Skip to content

.pm is detecting as raku #5371

Answered by lildude
ricks03 asked this question in Classification
Discussion options

You must be logged in to vote

Indeed, and it is already associated with Perl:

https://github.com/github/linguist/blob/19b3a9bd7d585be8d6459cfab0a51607b2aee68b/lib/linguist/languages.yml#L4203-L4220

If the file is being classed as Raku in your repo it means it either matches the heuristic:

https://github.com/github/linguist/blob/19b3a9bd7d585be8d6459cfab0a51607b2aee68b/lib/linguist/heuristics.yml#L397-L402

https://github.com/github/linguist/blob/19b3a9bd7d585be8d6459cfab0a51607b2aee68b/lib/linguist/heuristics.yml#L638-L639

… or it has been guessed by the classifier which will make the guess based on the samples Linguist has. This won't be perfect so you may need to implement an override. We'd welcome a PR if you think …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lildude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants