#!/usr/bin/perl -w # -*- perl -*- BEGIN { chdir 't' if -d 't'; unshift @INC, '../lib'; unshift @INC, '../lib/Pod/t'; require "pod2html-lib.pl"; } use strict; use Test::More tests => 1; convert_n_test("htmlview", "html rendering"); __DATA__
Test HTML Rendering
use My::Module;
my $module = My::Module->new();
This is the description.
Here is a verbatim section.
This is some more regular text.
Here is some bold text, some italic and something that looks
like an <html> tag. This is some $code($arg1)
.
This text contains embedded bold and italic tags
. These can
be nested, allowing bold and bold & italic text. The module also
supports the extended syntax > and permits nested tags &
other cool > stuff >>
Here is a list of methods
new()
Constructor method. Accepts the following config options:
This is a list within a list
Title on the same line as the =item + * bullets
Title on the same line as the =item + numerical bullets
No bullets, no title
old()
Destructor method
blah blah
intermediate text
This is an href link1: http://example.com
This is an href link2: http://example.com/foo/bar.html
This is an email link: mailto:foo@bar.com
See also Test Page 2, the the Your::Module manpage and the Their::Module manpage manpages and the other interesting file /usr/local/my/module/rocks as well.