Skip to content

Commit

Permalink
More stuff for issue #1472
Browse files Browse the repository at this point in the history
This should make it closable.
  • Loading branch information
AlexDaniel committed Sep 1, 2017
1 parent 22b7bb2 commit f9eb8ef
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/Language/traps.pod6
Expand Up @@ -804,6 +804,18 @@ programmatically generated output, and
L«C<Str.lines>|/type/Str#method_lines» when working with user-written
texts.
Use C<$data.split(“\n”)> in all cases where the original L<IO::Handle>
is not available.
=comment RT #131923
If you are using L<Proc::Async>, then there is currently no easy way
to make it split data the right way. You can try reading the whole
output and then using L«C<Str.split>|/type/Str#method_split» (not viable
if you are dealing with large data) or writing your own logic to split
the incoming data the way you need. Same applies if your data
is null-separated.
=head1 Exception Handling
=head2 Sunk C<Proc>
Expand Down

0 comments on commit f9eb8ef

Please sign in to comment.