Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created July 31, 2011 08:46
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 tadzik/1116610 to your computer and use it in GitHub Desktop.
Save tadzik/1116610 to your computer and use it in GitHub Desktop.
DOC phasers in action
┌─[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