-
-
Save AlexDaniel/3e089663a795b68fd4df611fbdf493f3 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
loop { | |
state $n = 0; | |
put $n++; | |
last if $n > 2; | |
FIRST { put "Starting loop. \$n is n" } | |
LAST { put "Finishing loop. \$n is n" } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment