Fixed shebang detection for perl.