Skip to content

Commit f99e92b

Browse files
committed
Merge pull request #231 from nxadm/master
Update documentation for .nl => .nl-in and .nl-out
2 parents 9020737 + 4498203 commit f99e92b

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

doc/Language/5to6-perlvar.pod

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,18 +424,17 @@ filehandle. E. g. C<$*IN.ins>.
424424
425425
=item $/
426426
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>.
429429
430430
=item $OUTPUT_RECORD_SEPARATOR
431431
432432
=item $ORS
433433
434434
=item $\
435435
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>.
439438
440439
=item $OUTPUT_AUTOFLUSH
441440

doc/Language/io.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ the file for you.
3535
=head2 Line by line
3636
3737
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.
3939
4040
for 'huge-csv'.IO.lines -> $line {
4141
# Do something with $line

doc/Type/IO/Handle.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Returns L<Bool::True> if the read operations have exhausted the content of the f
3636
method lines($limit = Inf)
3737
3838
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.
4040
4141
=for code :allow<B>
4242
my @data;

0 commit comments

Comments
 (0)