We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e737b commit b7bbfb5Copy full SHA for b7bbfb5
doc/Type/Signature.pod6
@@ -258,9 +258,9 @@ There are two other ways to declare a return type:
258
259
C<of> is just the real name of the C<returns> keyword, and the
260
prefix(C-like) form can be used too. Although all the ways are valid,
261
-the C<-->> form is preferred for several reasons:
+the C<-->> form is preferred for several reasons:
262
(1) it can handle constant values while the others can't;
263
-(2) for consistency, it is the only form accepted on this site; and
+(2) for consistency, it is the only form accepted on this site; and
264
(3) the C<returns> form is planned for future removal.
265
266
The following illustrates how to write a signature returning a constant value:
0 commit comments