Skip to content

Instantly share code, notes, and snippets.

@zoffixznet

zoffixznet/p6.p6 Secret

Created June 22, 2018 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/20eef4ac923325a69b674d7dd2a4828d to your computer and use it in GitHub Desktop.
Save zoffixznet/20eef4ac923325a69b674d7dd2a4828d to your computer and use it in GitHub Desktop.
$ cat pod.pm6
$=pod
=begin pod
Moo mooo
=end pod
$ cat foo.p6
say 'pod.pm6'.&EVALFILE;
say $=pod;
=begin pod
Meow moew.
=end pod
$ perl6 foo.p6
[Pod::Block::Named{:name("pod")}
Pod::Block::Para
Moo mooo
]
[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