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 a3390c9 commit 887d89fCopy full SHA for 887d89f
pod/perlfunc.pod
@@ -2478,6 +2478,10 @@ necessarily recommended if you're optimizing for maintainability:
2478
2479
goto ("FOO", "BAR", "GLARCH")[$i];
2480
2481
+As shown in this example, C<goto-EXPR> is exempt from the "looks like a
2482
+function" rule. A pair of parentheses following it does not (necessarily)
2483
+delimit its argument. C<goto("NE")."XT"> is equivalent to C<goto NEXT>.
2484
+
2485
Use of C<goto-LABEL> or C<goto-EXPR> to jump into a construct is
2486
deprecated and will issue a warning. Even then, it may not be used to
2487
go into any construct that requires initialization, such as a
0 commit comments