File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -804,6 +804,18 @@ programmatically generated output, and
804
804
L « C < Str.lines > |/type/Str#method_lines» when working with user-written
805
805
texts.
806
806
807
+ Use C < $data.split(“\n”) > in all cases where the original L < IO::Handle >
808
+ is not available.
809
+
810
+ = comment RT #131923
811
+
812
+ If you are using L < Proc::Async > , then there is currently no easy way
813
+ to make it split data the right way. You can try reading the whole
814
+ output and then using L « C < Str.split > |/type/Str#method_split» (not viable
815
+ if you are dealing with large data) or writing your own logic to split
816
+ the incoming data the way you need. Same applies if your data
817
+ is null-separated.
818
+
807
819
= head1 Exception Handling
808
820
809
821
= head2 Sunk C < Proc >
You can’t perform that action at this time.
0 commit comments