4 unshift @INC, './pod', '../lib';
9 my %options = map { $_ => 1 } @ARGV; ## convert cmdline to options-hash
10 my $passed = testpodchecker \%options, $0;
11 exit( ($passed == 1) ? 0 : -1 ) unless $ENV{HARNESS_ACTIVE};
19 poderrors.t - test Pod::Checker on some pod syntax errors
21 =unknown1 this is an unknown command with two N<unknownA>
22 and D<unknownB> interior sequences.
24 This is some paragraph text with some unknown interior sequences,
27 and Y<unknown4 V<unknown5>>.
29 Now try some unterminated sequences like
33 Here I am at C<camp granada!
37 And they say we'll have some fun if it stops raining!
39 =head1 Additional tests
41 =head2 item without over
45 =head2 back without over
49 =head2 over without back
55 =head2 end without begin
59 =head2 begin and begin
69 =head2 Nested sequences of the same type
71 C<code I<italic C<code again!>>>
73 =head2 Garbled entities
79 =head2 Unresolved internal links
85 =head2 Some links with problems
90 L<"Warnings"> this one is ok
95 L< some text|page/"section" >
113 see these unescaped < and > in the text?