Basic HTML version of Foils prepared April 16,1996

Foil 10 An Aside on Perl Pod Notation

From Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 Material -- April 16,1996. by Geoffrey C. Fox


The start of pod information is recognized by a command starting with = in column1:
We give HTML approximate equivalents to give intuition!
=head1 heading Roughly equivalent to <h1> heading </h1>
=head2 heading Roughly equivalent to <h2> heading </h2>
=over N Indent by N characters
=item text Roughly <li> text
=back Roughly </ul>
=cut End Pod Sequence
One uses I<text> to get italic i.e. <i>text<i> in HTML
B<text> for Bold, L<text> for link etc.
See perlpod manual page and look at Perl library code which uses pod notation to generate manual



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Sep 6 1997