Feed
NAME
`Proc::Feed` provides a couple wrappers for `Proc::Async` that are more convenient to use than the built-in `run` and `shell` subs. Specifially, these wrapper subs let you easily feed data to them, and also feed from them to other callables using the feed operators, `==>` and `<==`.
SYNOPSIS
use Proc::Feed;
# Example
my $src = './mydir';
my $dest = "$src.backup";
proc «cp -r "$src" "$dest"»;
# Example
'hello perl6' \
==> capture('md5sum')
==> split(' ')
==> *.[0]()
==> put('Checksum is: ')
;
# Example
my $text = run {
pipe «curl http://somewhere.com/text.gz», :bin \
==> pipe «gunzip -c», :bin<IN>, :!chomp
==> join('')
}