File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ $conn.close;
44
44
:$port,
45
45
:$family = 2,
46
46
:$encoding = 'utf-8',
47
- :nl-in = "\r\n",
47
+ :$ nl-in = "\r\n",
48
48
) returns IO::Socket::INET:D
49
49
multi method new(
50
50
:$localhost,
51
51
:$localport,
52
52
:$family = 2,
53
53
:$listen,
54
54
:$encoding = 'utf-8',
55
- :nl-in = "\r\n",
55
+ :$ nl-in = "\r\n",
56
56
) returns IO::Socket::INET:D
57
57
58
58
Creates a new socket.
@@ -64,7 +64,7 @@ it opens a connection to C<$host> on port C<$port>.
64
64
C < $family > defaults to 2 for IPv4, and can be set to 3 for IPv6.
65
65
66
66
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
68
68
the character(s) that separate lines.
69
69
70
70
= head1 Methods
You can’t perform that action at this time.
0 commit comments