Add the shebang line for the perl interpreter

Add a shebang line to the perl scripts so that users don't have to explicitly provide the interpreter on the command line.