Skip to content

Commit f1013a6

Browse files
author
Anthony Parsons
committed
Fix inconsistent references to :$nl-in
1 parent 127f4e3 commit f1013a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Type/IO/Socket/INET.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ $conn.close;
4444
:$port,
4545
:$family = 2,
4646
:$encoding = 'utf-8',
47-
:nl-in = "\r\n",
47+
:$nl-in = "\r\n",
4848
) returns IO::Socket::INET:D
4949
multi method new(
5050
:$localhost,
5151
:$localport,
5252
:$family = 2,
5353
:$listen,
5454
:$encoding = 'utf-8',
55-
:nl-in = "\r\n",
55+
:$nl-in = "\r\n",
5656
) returns IO::Socket::INET:D
5757
5858
Creates a new socket.
@@ -64,7 +64,7 @@ it opens a connection to C<$host> on port C<$port>.
6464
C<$family> defaults to 2 for IPv4, and can be set to 3 for IPv6.
6565
6666
For text operations (such as L<#method lines> and L<#method get>),
67-
C<$encoding> specifies the encoding, and C<$input-line-separator> determines
67+
C<$encoding> specifies the encoding, and C<$nl-in> determines
6868
the character(s) that separate lines.
6969
7070
=head1 Methods

0 commit comments

Comments
 (0)