Help for this page

Select Code to Download


  1. or download this
    my $outfile = 'outfile.txt';
    system("cplusplusprogram >$outfile") == 0
    ...
    
    open my $fh, "<", $outfile
        or die "Couldn't read '$outfile': $!";