This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Perl hashbang doesn't trigger autodetection correctly for files called install. #85
Open
1 task done
Labels
Prerequisites
Description
The
#!/usr/bin/env perl
hashbang doesn't trigger Perl as the autodetected language. In my setup it defaults to PHP instead.Steps to Reproduce
Create a new file called
install
.Add the following code to the file:
Set the file type to "Autodetect".
Expected behavior: The autodetected language is Perl.
Actual behavior: The autodetected language is PHP.
Reproduces how often:
100% reproduction with the filename
install
. Seems to be tied to this specific filename and I'm not sure why - I triedinstall.pl
andfoo
and both got autodetected correctly as Perl files.Versions
The text was updated successfully, but these errors were encountered: