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 f33f8af commit ee9f0b2Copy full SHA for ee9f0b2
doc/Language/control.pod
@@ -774,6 +774,24 @@ conditional again.
774
775
=comment TODO
776
777
+=head1 X<samewith|control flow>
778
+
779
+The C<samewith> allows one to call a multisub of the same name as the current sub.
780
781
+=begin code
782
783
+multi indent-say ( 'test' )
784
+{
785
+ samewith 'ABCD';
786
+}
787
788
+multi indent-say ( Str $string )
789
790
+ say "\t$string";
791
792
793
+=end code
794
795
=end pod
796
797
# vim: expandtab shiftwidth=4 ft=perl6
0 commit comments