Created
October 3, 2017 21:41
-
-
Save anonymous/17e152e8a259ca492034ee836df9cbb5 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
jdv@new-host-2]$ cat t/01-basic.t | |
use v6.d.PREVIEW; | |
react whenever supply { emit(supply {emit 1}) } { | |
start { react whenever $_ { | |
say "before"; | |
say qqx{echo foo}; | |
say "after"; | |
}} | |
} | |
[jdv@new-host-2]$ perl6 t/01-basic.t | |
before | |
[jdv@new-host-2]$ cat t/01-basic.t | |
use v6.d.PREVIEW; | |
react whenever supply { emit(supply {emit 1}) } { | |
start { react whenever $_ { | |
say "before"; | |
#say qqx{echo foo}; | |
say "after"; | |
}} | |
} | |
[jdv@new-host-2]$ perl6 t/01-basic.t | |
before | |
after | |
[jdv@new-host-2]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment