There is an executable in my path that I believe is a perl script.
>which $scriptname which: 0652-141 There is no $scriptname in $path
and the path it prints is the same that
echo $PATH gives (except space delimited rather than colon).
Running ksh again does not appear to change my path, but now the script is not found.
This is as a normal user running ksh on AIX 6.1 over telnet (yeah, I know).