Hmm.
If your perl script is being executed via ksh, that sounds to me like your wrapper script has an error of some sort -- the wrapper script should be explicitly executing perl on your perl script.
If you post your sample scripts (your perl wrapper and your sample perl script) that will help us diagnose what is happening...