-
-
Save zoffixznet/5eecfa5c50510e6295df23c1eb4d9fc8 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
$ cat pod.pm6 | |
sub MAIN('meows') {} | |
=begin pod | |
Moo mooo | |
=end pod | |
$ cat foo.p6 | |
my $p := Promise.new; | |
my $v := $p.vow; | |
start 'pod.pm6'.IO.slurp.&[~](「; INIT {$v.keep: $=pod; sleep}」).EVAL; | |
say await $p; | |
say "Our pod:"; | |
say $=pod; | |
=begin pod | |
Meow moew. | |
=end pod | |
$ perl6 foo.p6 | |
[Pod::Block::Named{:name("pod")} | |
Pod::Block::Para | |
Moo mooo | |
] | |
Our pod: | |
[Pod::Block::Named{:name("pod")} | |
Pod::Block::Para | |
Meow moew. | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment