its returning 127 inteed of 0, i am trying to narrow down the probelem. well in my shell script i read an external file for reading PATH for required files. while i am reading this external file then the perl script giving the NOT OK satement. another hand if i just hardcoded all the path on shell script itself then perl script giving me OK statement.
i am just checking its a problem reading external file or someting else.