Please give short examples of a script that runs, and a script that doesn't, together with how you are running the script (as executable, calling it as a parameter to the perl binary, somehow else? Using a self-build perl or one that came with the system?