Perl Advent Calendar 2008-12-32

This is a sample

by David Westbrook

First a quote section.

Second verse.

See the sample.pod file that this HTML was generated from.

Then an Example Link for a Pod::Simple module. See also Pod::Simple::Subclassing. Now we mention Pod::Simple again. Now we talk about a data.txt file. And our copy of data.txt. And a plain http://www.example.com a/href.

And some foot-noted text.1

BIG Header (1)

normal header (2)

little header (3)

littlest header (4)

Other tags

Regular bold and italics work too.

And in-line code such as this my $foo=Bar->new() snippet.

And regular pod Verbatim is treated as code:

  my $x = $y;
  $x += 3;

More code examples

Just a code snippet:

foreach my $foo ( @bar ){
  print $foo;
}

my $x;

A code snippet w/line numbers:

   1 foreach my $foo ( @bar ){
   2   print $foo;
   3 }
   4 
   5 my $bar;

And code sourced from the sample.pl file:

sample.pl

   1 use Example::Module;
   2 my $obj = Example::Module->new();
   3 foreach my $x ( $obj->get_list ){
   4   printf "Foo == %s ==\n", $x;
   5 }

And a specific link to the third line.

And just <pre> tag stuff, e.g. for output or data.

mispelling example. repeating mispelling.

This is just preformatted
       t
         e
           x
             t.
Which is good for output examples.

and more output

Editorial section

Testing bold and italics and Foo::Bar module link

1. This is the first footnote.

View Source (POD)