Subject: | Emacs hints in the shebang line confuse Perl |
Symptoms:
% ctgetreports Sepia
Can't open perl script "-*-": No such file or directory
The problem is this:
#!/usr/bin/perl -- -*- mode: cperl -*-
Setting the mode in a local variable section at EOF will fix this, e.g.
# Local Variables:
# mode: cperl
# End: