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 Okay, now use a non-empty blank line to terminate a paragraph and make
40 sure we get a warning.
42 The above blank line contains tabs and spaces only
44 =head1 Additional tests
46 =head2 item without over
50 =head2 back without over
54 =head2 over without back
60 =head2 end without begin
64 =head2 begin and begin
74 =head2 Nested sequences of the same type
76 C<code I<italic C<code again!>>>
78 =head2 Garbled entities
84 =head2 Unresolved internal links
90 =head2 Some links with problems
95 L<"Warnings"> this one is ok
100 L< some text|page/"section" >
118 see these unescaped < and > in the text?