Neeli, Hal is right. Try $which perl from your shell. The location may differ.
Regards, Midhun On Thu, Aug 9, 2012 at 11:46 AM, Hal Wigoda <hal.wig...@gmail.com> wrote: > What about the location of perl itself? > > > On Thu, Aug 9, 2012 at 12:13 AM, venki neeli <venki_neeli...@yahoo.com> > wrote: > > 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.pland > > 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 > > > > -- > ----------------- > Chicago > Hal Wigoda >