----- Original Message -----
From: "Hardik Oza" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 08, 2002 10:04 AM
Subject: calling a perl script from within a perl script


> Hello,
> I am interested in calling a perl script from within a
> perl script.
> I am trying to post some cgi form data to a script
> which inturn should invoke some other script.

my $out = `perl other_script.pl`;
($out contains the output of other_script.pl)
or
system("perl other_script.pl");
(Output of other_script.pl not returned to calling script)

Other options include the Win32 'Spawn' function and the Win32::Process
'Create' function.

Cheers,
Rob


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to