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};
13 ### Deliberately throw in some blank but non-empty lines
15 ### The above line should contain spaces
23 poderrors.t - test Pod::Checker on some pod syntax errors
25 =unknown1 this is an unknown command with two N<unknownA>
26 and D<unknownB> interior sequences.
28 This is some paragraph text with some unknown interior sequences,
31 and Y<unknown4 V<unknown5>>.
33 Now try some unterminated sequences like
37 Here I am at C<camp granada!
41 And they say we'll have some fun if it stops raining!
43 Okay, now use a non-empty blank line to terminate a paragraph and make
44 sure we get a warning.
46 The above blank line contains tabs and spaces only
48 =head1 Additional tests
50 =head2 item without over
54 =head2 back without over
58 =head2 over without back
64 =head2 end without begin
68 =head2 begin and begin
78 =head2 Nested sequences of the same type
80 C<code I<italic C<code again!>>>
82 =head2 Garbled entities
88 =head2 Unresolved internal links
94 =head2 Some links with problems
99 L<"Warnings"> this one is ok
104 L< some text|page/"section" >
122 see these unescaped < and > in the text?