1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-03 21:37:47 +02:00

Merge pull request #1404 from tecknicaltom/master

[perl6] fix the output of ff example
This commit is contained in:
Levi Bostian
2015-10-09 10:11:46 -05:00

View File

@@ -1429,7 +1429,7 @@ for <well met young hero we shall meet later> {
# A flip-flop can change state as many times as needed: # A flip-flop can change state as many times as needed:
for <test start print it stop not printing start print again stop not anymore> { for <test start print it stop not printing start print again stop not anymore> {
.say if $_ eq 'start' ^ff^ $_ eq 'stop'; # exclude both "start" and "stop", .say if $_ eq 'start' ^ff^ $_ eq 'stop'; # exclude both "start" and "stop",
#=> "print this printing again" #=> "print it print again"
} }
# you might also use a Whatever Star, # you might also use a Whatever Star,