- or download this
open F, "| some_shell_expression"; # open for writing
open F, "some_shell_expression |"; # open for reading
- or download this
/usr/bin/mycommand < file
- or download this
my $cmd = "/usr/bin/mycommand < file";
if ( system $cmd ) {
...
: 'without'
: sprintf "child exited with value %d\n", $? >> 8;
}