Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created August 24, 2012 17:57
Show Gist options
  • Save tadzik/3453518 to your computer and use it in GitHub Desktop.
Save tadzik/3453518 to your computer and use it in GitHub Desktop.
┌─[tadzik@yavin4]─[~]
└─[%]─> cat dupa.pl
=begin pod
=head1 Some heading
=head2 Another shit
=for table
foo kbkbar
bla ahaha
fos a ble ple
code goes hier
=end pod
#bla bla
say pod-gist($=pod[0]);
┌─[tadzik@yavin4]─[~]
└─[%]─> perl6 dupa.pl
Pod::Block::Named("name" => "pod").hash
Pod::Heading("level" => "1").hash
Pod::Block::Para
Some heading
Pod::Heading("level" => "2").hash
Pod::Block::Para
Another shit
Pod::Block::Table
foo kbkbar
bla ahaha
fos a ble ple
Pod::Block::Code
code goes hier
@tadzik
Copy link
Author

tadzik commented Aug 24, 2012

Pod::Block::Named("name" => "pod").hash
Pod::Heading("level" => "1").hash
Pod::Block::Para
Some heading
Pod::Heading("level" => "2").hash
Pod::Block::Para
Another shit
Pod::Block::Table
("foo", "kbkbar")
("bla", "ahaha")
("fos a", "ble ple")
Pod::Block::Code
code goes hier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment