You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Type/Routine.pod6
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,10 @@ from the innermost outer Routine).
16
16
17
17
The routine level is also the one at which
18
18
L<multiness|/language/glossary#Multi-Dispatch> (multi subs and multi methods)
19
-
are handled.
19
+
are handled. Subroutines can also be declared C<anon>. See the L<documentation
20
+
on the C<anon> declarator|/language/variables#The_anon_declarator> for more
21
+
information.
22
+
20
23
21
24
X<|is default (Routine)>
22
25
=head2X<Trait is default>
@@ -45,8 +48,6 @@ f(); # "Use of uninitialized value $greet..."
45
48
In this example, the C<multi> without C<is default> was called because it was
46
49
actually narrower than the C<Sub> with it.
47
50
48
-
Subroutines can also be declared C<anon>. See the L<documentation on the C<anon> declarator|/language/variables#The_anon_declarator> for more information.
49
-
50
51
=head1Methods
51
52
52
53
=head2method name
@@ -110,10 +111,10 @@ which you can pass to L<unwrap|/routine/unwrap> to restore the original routine.
110
111
111
112
method unwrap($wraphandle)
112
113
113
-
Restores the original routine after it has been wrapped withL<wrap|/routine/wrap>. While
114
-
the signature allows any type to be passed, only the
115
-
L<C<Routine::WrapHandle>|/type/Routine::WrapHandle> type returned fromC<wrap>
116
-
can usefully be.
114
+
Restores the original routine after it has been wrapped with
115
+
L<wrap|/routine/wrap>. While the signature allows any type to be passed, only
116
+
the L<C<Routine::WrapHandle>|/type/Routine::WrapHandle> type returned from
0 commit comments