Created
July 31, 2011 08:46
-
-
Save tadzik/1116610 to your computer and use it in GitHub Desktop.
DOC phasers in action
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]─[~/src/nom] (podparser) | |
└─[%]─> cat docinit.pl | |
say "I'm just hello world"; | |
=pod | |
Actually, I'm not | |
DOC INIT { | |
use Pod::To::Text; | |
say pod2text($=POD); | |
exit; | |
} | |
┌─[tadzik@yavin4]─[~/src/nom] (podparser) | |
└─[%]─> ./perl6 docinit.pl | |
I'm just hello world | |
┌─[tadzik@yavin4]─[~/src/nom] (podparser) | |
└─[%]─> ./perl6 --doc docinit.pl | |
Actually, I'm not |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment