Plain Ol' Documentation
POD allows you to create documentation with markup in your Perl code. If you've seen Javadoc or PHPdoc, it's like that. Rather, Javadoc and PHPdoc are like POD.
Except that POD is part of the language, not an add-on spec.
=head1
and =head2
=head1 MOST IMPORTANT Blah blah =head2 Subheading blah blah =head2 Subhading blah blah
To create this list:
Use
=over =item * Wango =item * Tango =item * Fandango =back
To create this list:
Use
=over =item 1 Visit perl101.org =item 2 ??? =item 3 Profit! =back
POD uses B<>, I<> and C<> for bold, italics and code
, respectively.
B<This is bolded> I<This is italics> C<This is code>
Your markup formats can nest.
L<>
The L<>
links either to keywords in your document, as in L<Methods>
, or to a specific URL, as in L<http://search.cpan.org>
.
Everything in a paragraph word-wraps automatically. A paragraph is separated by at least one blank line.
A literal block is indented at least one space and does not get wrapped.
This came from:
Everything in a paragraph word-wraps automatically. A paragraph is separated by at least one blank line. A literal block is indented at least one space and does not get wrapped.
It's stripped out at compile time.
Talk about double-bracketing
Submit a PR to github.com/petdance/perl101
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.