At 03:19 PM 8/28/01 -0500, [EMAIL PROTECTED] wrote:
>How do you execute or call a Perl(PROG1.pl) program from another
>Perl(PROG2.pl) program?
PROG2.pl does either:
output = `PROG1.pl`; # `PROG1.pl 2>&1` most likely on Unix systems
or
retcode = system 'PROG1.pl';
More details available by typing
perldoc -f system
and
perldoc perlop
and scrolling down to the section "Regexp Quote-Like Operators" and looking
for the paragraph headed by 'qx/STRING'.
--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]