#!/usr/bin/perl -w # -*- perl -*- use strict; use lib qw( ./lib ../lib ); use Pod::POM::Test; #$Pod::POM::Node::DEBUG = 1; my $DEBUG = 1; ntests(2); my $text; { local $/ = undef; $text = ; } my $parser = Pod::POM->new(); my $pom = $parser->parse_text($text); assert( defined $pom ); # something of a crap test... match( length $pom, 1898 ); __DATA__ =head1 NAME A test Pod document. =head1 NAME My::Module - a sample Pod document for testing Pod::POM =head1 SYNOPSIS use My::Module; my $module = My::Module->new(); my $item = $module->item(); =head1 DESCRIPTION This is a sample Pod document for testing the Pod::POM module. Here is a verbatim section, indented from the left margin by some whitespace This is some more regular text. Here is some B text, some I and something that looks like an EhtmlE tag. This is some C<$code($arg1)>. This C and I tags>. These can be nested, allowing B text>. The module also supports the extended B<< syntax >> and permits I<< nested tags E other B<<< cool >>> stuff >> =head1 METHODS =E OTHER STUFF Here is a list of methods =head2 new() Constructor method. Accepts the following config options: =over 4 =item foo The foo item. =item bar The bar item. =over 4 This is a list within a list =item wiz The wiz item. =item waz The waz item. =back =item baz The baz item. =back =head2 old() Destructor method =head1 IMPORTANT STUFF Here is some important stuff. =over 4 =item Chew Your Food Always chew your food properly before swallowing. =item Running With Scissors Don't run with scissors. =back =head1 TESTING FOR AND BEGIN =for html

blah blah

intermediate text =begin html HTML some text =end =head1 AUTHOR Andy Wardley Eabw@kfs.orgE. =head1 VERSION This is version 0.1 of My::Module. I like being S, wow. =head1 COPYRIGHT This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 SEE ALSO See also L, L, L and the file F as well. =cut