File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -424,18 +424,17 @@ filehandle. E. g. C<$*IN.ins>.
424
424
425
425
= item $/
426
426
427
- This is accessed through the C < .nl > method on the filehandle. E. g.
428
- C < $*IN.nl > .
427
+ This is accessed through the C < .nl-in > method on the filehandle. E. g.
428
+ C < $*IN.nl-in > .
429
429
430
430
= item $OUTPUT_RECORD_SEPARATOR
431
431
432
432
= item $ORS
433
433
434
434
= item $\
435
435
436
- [NEEDS FURTHER RESEARCH] The <.nl> method on the filehandle (e. g.
437
- C < $*OUT.nl > ) I < appears > to give the output record separator, but this is
438
- currently not clear.
436
+ This is accessed through the C < .nl-out > method on the filehandle. E. g.
437
+ C < $*OUT.nl-out > .
439
438
440
439
= item $OUTPUT_AUTOFLUSH
441
440
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ the file for you.
35
35
= head2 Line by line
36
36
37
37
Of course, we also have the option to read a file line-by-line. The new line
38
- separator (e.g. $*IN.nl) will be excluded.
38
+ separator (e.g. $*IN.nl-in ) will be excluded.
39
39
40
40
for 'huge-csv'.IO.lines -> $line {
41
41
# Do something with $line
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Returns L<Bool::True> if the read operations have exhausted the content of the f
36
36
method lines($limit = Inf)
37
37
38
38
Return a lazy list of the file's lines read via L < get > , limited to C < $limit > lines.
39
- The new line separator (e.g. $*IN.nl) will be excluded.
39
+ The new line separator (e.g. $*IN.nl-in ) will be excluded.
40
40
41
41
= for code :allow<B>
42
42
my @data;
You can’t perform that action at this time.
0 commit comments