Basic HTML version of Foils prepared Sept 20 97

Foil 10 An Aside on Perl Pod Notation

From Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 -- Sept 20 97. by Geoffrey C. Fox,Nancy McCracken,Tom Scavo


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

in Table To:


© 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 Sun Apr 5 1998