AIX 5.2
I checked the path , permissions etc.
which perl shows perl in /usr/bin/perl which the script points to.
I had to modify PERL5LIB variable some other scripts work.
But few scripts seem to work only by adding perl in the front. Since there are lot of scripts .
The same script works perfectly on another box with the same environment.