Created
August 24, 2012 17:57
-
-
Save tadzik/3453518 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
┌─[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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