hi Midhun/Hal

Shebang lines of Script-1 and Script-2 and perl location are same.
Where as Script one is executing and Script-2 is not executing.
The other machines are calling the Script-2 perfectly with command  
"./submit_now.pl $xxxx".
Full path also I have tried. What may be the problem? is it with version of 
perl? or perl module problem?


Regards,
Neeli



________________________________
 From: midhun <midhun...@gmail.com>
To: Hal Wigoda <hal.wig...@gmail.com> 
Cc: venki neeli <venki_neeli...@yahoo.com>; perl list <beginners@perl.org> 
Sent: Thursday, 9 August 2012 12:01 PM
Subject: Re: system command not working in different versions
 
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
>

Reply via email to