dot-cgi files aren't recognised as perl type files.
If I manually set the file type as perl it works fine, but this isn't as simple as it was with gedit where there was a simple dialog at the bottom of the window.
I'm guessing the .cgi can be a range of languages, but it would be great if these files could be recognised as a file type.
There's a #! /usr/bin/perl at the top of the file.
Edited by mintslice