SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: bereid on February 15, 2008, 09:28:53 PM

Title: Version 2008 Beta doesn't seem to recognize a Perl file by #!/usr/bin/perl
Post by: bereid on February 15, 2008, 09:28:53 PM
Previous SlickEdit versions could recognize a Perl script if the first line in the file contained !#/usr/bin/perl, even if the filename did not a revealing suffix. This version doesn't seem to work that way. I have a file named makenv, and when I open it in the editor, the text has none of the formatting traits that it should have for a Perl script. If I simply add the .pl suffix, the editor recognizes the same code as Perl. Is this an expected behavior, or is SlickEdit being confused by the presence of the 'mak' substring in the filename?
Title: Re: Version 2008 Beta doesn't seem to recognize a Perl file by #!/usr/bin/perl
Post by: Clark on February 18, 2008, 09:25:04 PM
Thanks for reporting this.  This will be fixed in the next beta.