-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perl5 detected as Perl6 #2781
Comments
That's what we do with the heuristic strategy. However, your file matches the Perl6 heuristic first, because of the line that starts with #2782 should fix this by reordering the heuristic for Perl. The Perl5 heuristic is more accurate than the Perl6 so I placed it before. That said, Perl5/Perl6 classification will never be 100% accurate, because the two languages are very similar. |
Port of mojolicious/mojo@19cdf772 Before this clarification the project listed as 7% Perl6 code >.< The explicit listing is needed, as there apparently won't be a fix within Github itself any time soon: github-linguist/linguist#2149 (comment) github-linguist/linguist#2781 (comment) github-linguist/linguist#2074 (comment) Language names sourced from: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
https://github.com/drzowie/Alien-Gnuplot/search?l=perl6
File is https://github.com/drzowie/Alien-Gnuplot/blob/0d4659a3687fafd79ba7aabc3a12f633e2d6ec06/Makefile.PL
IMHO, "use strict;" should be enough to classify this as Perl5.
The text was updated successfully, but these errors were encountered: