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 8753464 commit 3ed1803Copy full SHA for 3ed1803
doc/Type/Signature.pod6
@@ -150,6 +150,10 @@ the C<where>-clause inside the sub-signature.
150
};
151
say one-of-them(c=>42); # OUTPUT: «42»
152
153
+Note: where-clauses that produce side-effects (e.g. printing output,
154
+pulling from an iterator, or increasing a state variable) are not supported
155
+and may produce surprising results if used.
156
+
157
=head3 Constraining Optional Arguments
158
159
L<Optional arguments|#Optional_and_Mandatory_Parameters> can have constraints,
0 commit comments