Created
July 8, 2011 09:33
-
-
Save tadzik/1071450 to your computer and use it in GitHub Desktop.
WHY
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 ExampleModule.pm | |
class ExampleModule; | |
=begin pod | |
This is an example documented class | |
=end pod | |
method WHY { ~$POD[0].content } | |
┌─[tadzik@yavin4]─[~/src/nom] (podparser) | |
└─[%]─> cat foo.pl | |
use v6; | |
use ExampleModule; | |
say ExampleModule.WHY; | |
┌─[tadzik@yavin4]─[~/src/nom] (podparser) | |
└─[%]─> ./perl6 foo.pl | |
This is an example documented class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment