Skip to content

Commit d93e58f

Browse files
committed
Use numbers instead of incoherent text
This way the example is easier to follow.
1 parent 22fa817 commit d93e58f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Proc/Async.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ standard output and error handles, and optionally write to its standard input.
1616
1717
=begin code
1818
my $file = ‘foo’.IO;
19-
spurt $file, “and\nCamelia\n♡\nme\n”;
19+
spurt $file, “Four\nFive\nSix\n”;
2020
2121
my $proc = Proc::Async.new: :w, ‘tac’, ‘--’, $file, ‘-’;
2222
# my $proc = Proc::Async.new: :w, ‘sleep’, 15; # uncomment to try timeouts
@@ -32,7 +32,7 @@ react {
3232
say ‘Proc finished. Exit code: ’, .exitcode;
3333
done # gracefully jump from the react block
3434
}
35-
whenever $proc.print: “I\n♥\nCamelia\n” {
35+
whenever $proc.print: “One\nTwo\nThree\n” {
3636
$proc.close-stdin
3737
}
3838
whenever signal(SIGTERM).merge: signal(SIGINT) {

0 commit comments

Comments
 (0)