On Wed, Oct 11, 2006 at 04:18:04PM +0400, Mazhar wrote: > >On Wed, Oct 11, 2006 at 03:35:03PM +0400, Mazhar wrote: > > > >> 1. If i run the code /scripts/xxx.pl i get the below error... > >> > >> >>>interpreter "/usr/bin/perl" not found > >> sh: /scripts/xxx.pl: not found.
> i have added /usr/bin/perl in my code and the ouptput of the command which > perl is also "/usr/bin/perl" Then my next guess is that you have a CR at the end of the line. Perhaps the whole file is in dos format? Running dos2unix will fix that, if it is the problem. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>