make perl template shebang more generic