http://www.perlmonks.org?node_id=6870

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm running perl on NT and can't get the output of my other programs thru the use of backticks.
Example:

test1.pl --------
#! c:\perl\bin\perl print "Hello World!";
---------

test2.pl ---------<br> #! c:\perl\bin\perl.exe $output1 = `test1.pl`; print "Option 1: ".$output1."\n"; open(STDOUT, ">output"); # from perlfaq8 system("test1.pl");
---------

Results:
---------
Z:\test> test2.pl Option 1: Z:\test> type output Z:\test>
---------- Any suggestions?