- or download this
my $pid = open3(
'<&STDIN',
...
my $fr_chld_err = gensym(),
'email'
)
- or download this
#!/usr/bin/perl
...
waitpid($pid, 0)
or die;
- or download this
#!/usr/bin/perl
...
while (<STDIN>) {
print STDERR (">> $_");
}
- or download this
$ echo meow | wrapper
[STDOUT]
[STDERR]
>> meow