RE: executing/calling another perl script

2006-04-09 Thread Irfan J Sayed
Thanks for all your help. Regards Irfan Sayed

Re: executing/calling another perl script

2006-04-09 Thread Anish Kumar K.
Hi Irfan Create a perl Module. The Module should start with and should be the second line after ther perl path package ; sub function_name { my ($pas1,$pass2,$array,$return)[EMAIL PROTECTED]; Do the Processing $_[3]= Send the Value..>Can be anything array, hash, or...$; } In the PERL

RE: executing/calling another perl script

2006-04-09 Thread Bobby Jafari
> I need to call/execute another perl file from my backup.pl perl script by giving some argument. > Can anybody please tell me how to do that? my result = system (perl other-script.pl ) or my result = `perl other-script.pl ` #using back ticks` -- To unsubscribe, e-mail: [EMAIL PROTECTED] For add

executing/calling another perl script

2006-04-09 Thread Irfan J Sayed
Hi All, I need to call/execute another perl file from my backup.pl perl script by giving some argument. Can anybody please tell me how to do that? Regards Irfan Sayed

Re: Calling another perl script

2002-12-13 Thread Joe Mecklin
exec() exits the calling program and does not return. system() returns the called program's exit status then allows the calling program to resume execution. "Programming Perl", 3rd Edition, p.811 On Fri, 2002-12-13 at 08:01, Paul Kraus wrote: > if I exec a Perl script from a Perl script that fir

Re: Calling another perl script

2002-12-13 Thread Sudarshan Raghavan
ginal Message- > > From: Kipp, James [mailto:[EMAIL PROTECTED]] > > Sent: Friday, December 13, 2002 9:15 AM > > To: 'Paul Kraus'; 'Perl' > > Subject: RE: Calling another perl script > > > > > > I rarely use 'exec' but i believe

RE: Calling another perl script

2002-12-13 Thread Paul Kraus
aul Kraus'; 'Perl' > Subject: RE: Calling another perl script > > > I rarely use 'exec' but i believe the parent script just > exits . here is some more from the docs: > > Since it's a common mistake to use "exec" instead of > "syst

RE: Calling another perl script

2002-12-13 Thread Kipp, James
exec ('foo') }; print STDERR "couldn't exec foo: $!"; or maybe i am not understaning you correctly. could you be talking about fork -> exec? HTH Jim > -Original Message- > From: Paul Kraus [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 13,

RE: Calling another perl script

2002-12-13 Thread Paul Kraus
; From: Kipp, James [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 9:04 AM > To: 'Paul Kraus'; Perl > Subject: RE: Calling another perl script > > > perldoc -f exec > exec LIST > exec PROGRAM LIST > The "exec" function executes

RE: Calling another perl script

2002-12-13 Thread Kipp, James
*and* it is executed directly instead of via your system's command shell (see below). > -Original Message- > From: Paul Kraus [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 9:01 AM > To: Perl > Subject: Calling another perl script > > > if

Calling another perl script

2002-12-13 Thread Paul Kraus
if I exec a Perl script from a Perl script that first program will end and then start the second or will it continue to run until both programs have finished? Paul Kraus Network Administrator PEL Supply Company 216.267.5775 Voice 216-267-6176 Fax www.pelsupply.com -- To unsubscribe, e-mail: [EM