in reply to Not able to run the perl script

remove the #!/usr/bin/env ksh as the script is not able to find the perl interpretor. First decide if its a ksh script or a perl script and use the appropriate shebang line