Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Empty regex does not work, use ' ' instead
Also fix "Supplys" typo. (HT: @AlexDaniel)
  • Loading branch information
zostay committed Jul 19, 2016
1 parent 13545b3 commit 4d0b548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/ipc.pod6
Expand Up @@ -30,7 +30,7 @@ to communicate with the process in more detail.
my $git = run 'git', 'log', '--oneline', :out;
for $git.out.lines -> $line {
my ($sha, $subject) = $line.split: / /;
my ($sha, $subject) = $line.split: ' ', 2;
say "$subject [$sha]";
}
Expand Down Expand Up @@ -79,7 +79,7 @@ of the log named F<system.log> for 10 seconds and then tells the program to stop
with a QUIT signal.
Whereas C<Proc> provides access to output using C<IO::Handle>s, C<Proc::Async>
provides access using asynchronous L<Supply|/type/Supply>s.
provides access using asynchronous supplies (see L<Supply|/type/Supply>).
If you want to run a program and do some work while you wait for the original
program to finish, the C<start> routine returns a L<Promise|/type/Promise>,
Expand Down

0 comments on commit 4d0b548

Please sign in to comment.