#! /usr/bin/perl use strict; use warnings; my $cmd = "./a.out input.txt"; open(my $pipe, "-|", $cmd) or die "Can't run '$cmd': $!"; my @sequence = <$pipe>; # Proceed to process output.
In reply to Re: How to run C object code in PERL
by tilly
in thread How to run C object code in PERL
by masala_curry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |