in reply to Not able to run the perl script
Your post is unreadable. Go back and read the line right under the "Preview" and "Create" buttons.
ksh is treating your Perl script as ksh commands. Perhaps you shouldn't pass your Perl script to ksh.