On Thu, 3 Mar 2005, Nishi Prafull wrote:
> I would like to call a perl script(B.pl) within another perl script
> (A.pl). Should I use the following approach or something else?
>
> A.pl
> -
> my $cmd = "perl B.pl"
> system($cmd);
>
> Please let me know.
Is there a reason that A.pl can't jus
> >>
> > >> I guess it partly depends on what you are trying to accomplish. Why
> > >> are you calling a second script?
> > >>
> > >>
> > >> -Original Message-
> > >> From: Nishi Prafull [mailto:[EMAIL PROTECTED]
&g
> >> are you calling a second script?
> >>
> >>
> >> -Original Message-
> >> From: Nishi Prafull [mailto:[EMAIL PROTECTED]
> >> Sent: Thursday, March 03, 2005 3:47 PM
> >> To: beginners@perl.org
> >> Subject: call a perl s
CTED]>
> wrote:
>>
>> I guess it partly depends on what you are trying to accomplish. Why
>> are you calling a second script?
>>
>>
>> -Original Message-
>> From: Nishi Prafull [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, March 03, 2005
From: Nishi Prafull [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 03, 2005 3:47 PM
> To: beginners@perl.org
> Subject: call a perl script within another perl script
>
> Hi:
> I would like to call a perl script(B.pl) within another perl
> script(A.pl).
> Should I use the
I guess it partly depends on what you are trying to accomplish. Why are
you calling a second script?
-Original Message-
From: Nishi Prafull [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 03, 2005 3:47 PM
To: beginners@perl.org
Subject: call a perl script within another perl script
Hi:
I would like to call a perl script(B.pl) within another perl script(A.pl).
Should I use the following approach or something else?
A.pl
-
my $cmd = "perl B.pl"
system($cmd);
Please let me know.
Thanks.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P