If I type in 'perl' from the shell, it executes the correct version. If I run a script with a shebang line that points to perl, it attempts to execute the perl script with ksh instead of executing the perl binary.
it would try and run ksh?
assuming perl is in /usr/bin/perl
I'm no expert but that sounds like a problem with your
system setup somewhere. its the system that looks at the
shebang line and decides what to run. if its calling ksh
then...I don't have a clue.