mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 14:17:02 +03:00
Merge pull request #1404 from tecknicaltom/master
[perl6] fix the output of ff example
This commit is contained in:
commit
dcd9093d64
@ -1429,7 +1429,7 @@ for <well met young hero we shall meet later> {
|
||||
# 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> {
|
||||
.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,
|
||||
|
Loading…
Reference in New Issue
Block a user