This is a basic POD example for using Pod::Advent to generate a http://perladvent.pm.org entry such as this. Once the POD is written or updated, simply execute the pod2advent script and save the output:
$ pod2advent getting_started.pod > pod2advent getting_started.html
And we get the file that you are now reading. The POD source is included below (normally this would be your .pl script file):
1 =for advent_year 2008 2 3 =for advent_day 00 4 5 =for advent_title Getting Started 6 7 =for advent_author David Westbrook 8 9 This is a basic POD example 10 for using M<Pod::Advent> to generate a 11 A<Perl Advent Calendar|http://perladvent.pm.org> entry such as this. 12 Once the POD is written or updated, simply execute 13 the F<pod2advent> script and save the output: 14 15 =begin code 16 17 $ pod2advent getting_started.pod > pod2advent getting_started.html 18 19 =end code 20 21 And we get the file that you are now reading. 22 The POD source is included below 23 (normally this would be your I<.pl> script file): 24 25 =sourcedcode getting_started.pod