Author Topic: Version 2008 Beta doesn't seem to recognize a Perl file by #!/usr/bin/perl  (Read 4782 times)

bereid

  • Community Member
  • Posts: 7
  • Hero Points: 0
  • Software Developer
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?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4965
  • Hero Points: 410
Re: Version 2008 Beta doesn't seem to recognize a Perl file by #!/usr/bin/perl
« Reply #1 on: February 18, 2008, 09:25:04 pm »
Thanks for reporting this.  This will be fixed in the next beta.