File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ return value of a method call. This is how read-writable attributes to
65
65
objects are used:
66
66
67
67
= for code :allow<L>
68
- $*IN.L < input-line-separator > = "\r\n";
68
+ $*IN.L < nl-in > = "\r\n";
69
69
70
- Here, we are calling method C < input-line-separator > on the C < $*IN > object,
70
+ Here, we are calling method C < nl-in > on the C < $*IN > object,
71
71
without arguments, and assign to the container it returned with the
72
72
L < C < = > |=> operator.
73
73
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
- :input-line-separator = "\n",
47
+ :nl-in = "\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
- :input-line-separator = "\n",
55
+ :nl-in = "\n",
56
56
) returns IO::Socket::INET:D
57
57
58
58
Creates a new socket.
You can’t perform that action at this time.
0 commit comments