I have a perl script; on my personal machine, running the exact same version of perl (5.10.1), it runs perfectly fine. However, on the server machine, it not only doesn\'t run,
The issue is that bash is trying to run/compile/interpret the script, rather than perl.
#! /usr/bin/perl
should be at the very top of your file, don't have stuff above it.