Created
January 8, 2015 18:12
-
-
Save rwstauner/98f97e6cd64c972d9b71 to your computer and use it in GitHub Desktop.
perl, pod, and data tokens
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
# Module::Faker should prepend 3 lines above this | |
=head1 NAME | |
Pod::With::Data::Token - yo | |
=head1 SYNOPSIS | |
use warnings; | |
print <DATA>; | |
__DATA__ | |
More text | |
=head1 DESCRIPTION | |
data handle inside pod is pod but not data | |
__DATA__ | |
see? | |
=cut | |
print "hi\n"; | |
print map { " | $_" } <DATA>; | |
=head2 EVEN MOAR | |
not much, though | |
=cut | |
__DATA__ | |
data is here | |
__END__ | |
THE END IS NEAR | |
=pod | |
this is pod to a pod reader but DATA to perl |
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
hi | |
| | |
| data is here | |
| | |
| __END__ | |
| | |
| THE END IS NEAR | |
| | |
| | |
| =pod | |
| | |
| this is pod to a pod reader but DATA to perl | |
| |
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
NAME | |
Pod::With::Data::Token - yo | |
SYNOPSIS | |
use warnings; | |
print <DATA>; | |
__DATA__ | |
More text | |
DESCRIPTION | |
data handle inside pod is pod but not data | |
__DATA__ | |
see? | |
EVEN MOAR | |
not much, though | |
this is pod to a pod reader but DATA to perl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment