Skip to content

Commit e9dc246

Browse files
committed
- MInor changes to independent-routines.pod6 to clarify options for
run()
1 parent 32094f9 commit e9dc246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/independent-routines.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,8 @@ L<run|/routine/run> in non-sink context:
522522
523523
If you want to capture standard output or error instead of having it
524524
printed directly you can use the C<:out> or C<:err> arguments
525-
respectively, which will make them available using the
526-
L<C<Proc.out>|/type/Proc> method:
525+
, which will make them available using their respective methods:
526+
L<C<Proc.out>|/type/Proc> and L<C<Proc.err>|/type/Proc/>.
527527
528528
my $proc = run 'echo', 'Perl 6 is Great!', :out, :err;
529529
$proc.out.slurp(:close).say; # OUTPUT: «Perl 6 is Great!␤»

0 commit comments

Comments
 (0)