Yes Midhun, I have compared both. Even I have tried keep both same.
See the shebang line. #!/usr/bin/perl -w Note:- Script-1 and script-2(submit_now.pl) are in same location. Regards, Neeli ________________________________ From: midhun <midhun...@gmail.com> To: venki neeli <venki_neeli...@yahoo.com> Cc: perl list <beginners@perl.org> Sent: Wednesday, 8 August 2012 3:55 PM Subject: Re: system command not working in different versions One suggestion. Did you compare the shebang line of your submit_now.pl and your perl executable location in the 2nd machine where it is not working. Regards, Midhun On Wed, Aug 8, 2012 at 11:48 AM, venki neeli <venki_neeli...@yahoo.com>wrote: > Dear Friends, > > I am developing a script in which I need to call another perl script. > In one linux machine it is working and in the other machine it is not > working. > > Ex:- system("./submit_now.pl $xxxx"); > > can you please, tell me what is the reason? > and as well solution. > > Regards, > Neeli -- -Midhun