-
-
Save Skarsnik/531748d0f80543c4999e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub foo($cpt) { | |
return if $cpt == 0; | |
{ | |
say "Before repeat"; | |
repeat { | |
say "after repeat"; | |
foo($cpt - 1) | |
} while False; | |
} | |
} | |
foo(3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment