1
#!/usr/bin/perl -w # -*- perl -*-
4
use lib qw( ./lib ../lib );
11
my $parser = Pod::POM->new();
12
my $pom = $parser->parse_file(\*DATA);
15
my $text = $pom->head1->[0]->text;
17
match( scalar @$text, 2 );
19
"A test Pod document.\n\n" );
21
"Another paragraph with a B<bold> tag.\n\n" );
23
"A test Pod document.\n\n"
24
. "Another paragraph with a B<bold> tag.\n\n" );
25
match( $pom->head1->[0],
27
. "A test Pod document.\n\n"
28
. "Another paragraph with a B<bold> tag.\n\n" );
35
Another paragraph with a B<bold> tag.