There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

This should cause a warning

NAME

poderrors.t - test Pod::Checker on some pod syntax errors

GASP! A verbatim paragraph in NAME

This is some paragraph text with some unknown interior sequences, such as unknown2, unknown3, and unknown4 unknown5.

Now try some unterminated sequences like hello mudda! hello fadda!

Here I am at camp granada!

Camps is very, entertaining. And they say we'll have some fun if it stops raining!

Okay, now use a non-empty blank line to terminate a paragraph and make sure we get a warning.

The above blank line contains tabs and spaces only

Many fcodes inside other fcodes inside many many more

A link to "$/" in perlvar

Additional tests

item without over

oops

back without over

over without back

aaps

end without begin

begin and begin

begin w/o formatter

for w/o formatter

something...

Nested sequences of the same type

code italic code again!

Garbled entities

E<alea iacta est> E<auml> E<abcbla> Ā ࿿ Ĭ E<unknown_entity>

"begin or begin" "end with begin" "OoPs"

"abc def" L<> L</> wheeee " aha" "oho " " weehee " "Warnings" this one is ok "unescaped" ok too, this POD has an X of the same name

lead trail neither both

<<<>>>

>>>>

>>>>

Warnings

passwd(5) some text with / in it should give warnings as hell

bla

the 200 is evil

see these unescaped < and > in the text?

Misc

should be empty

should not be empty

should not generate a warning about being empty

E<> should not be empty

    This paragrapgh is misplaced - it ought to be an item.

    four should be numeric!

  • blah

  • previous is all empty!!!

    This verbatim paragraph should not be here. Spaces are on the line below this

    *

    bullet

    1

    number, uh oh

  • first bullet

  • 1

    then number

  • finally definition

  1. first number

  2. bad numbering

  3. then definition

  4. *

    finally bullet

first defintion
*

then bullet

1

finally number

second definition
This should not generate an empty =item warning,
because it has verbatim text.

Empty over/back:

item w/o name

bla is evil

reoccurence

Misc

we already have a head Misc

some heading

another one

previous section is empty!

LINK TESTS

"I/O Operators" in perlop don't trigger a warning because node is quoted

"O Operators"" in "I incorrectly interpreted as 'O Operators in I', but this is deprecated syntax, as per perlpodspec. no warning due to quotes

Empty head above and unclosed over/begins below

test test

    What?

33 POD Errors

The following errors were encountered while parsing the POD:

Around line 28:

Unknown directive: =unknown1

Around line 31:

Deleting unknown formatting code Q<>

Deleting unknown formatting code A<>

Deleting unknown formatting code Y<>

Deleting unknown formatting code V<>

Around line 36:

Unterminated I<B<...>> sequence

Around line 40:

Unterminated C<...> sequence

Around line 59:

'=item' outside of any '=over'

Around line 61:

You forgot a '=back' before '=head2'

Around line 63:

=back without =over

Around line 71:

You forgot a '=back' before '=head2'

Around line 73:

'=end' without a target?

Around line 75:

=end something without matching =begin. (Stack: [empty])

Around line 89:

=begin without a target?

Around line 91:

'=end' without a target?

Around line 95:

=for without a target?

Around line 105:

Unknown E content in E<alea iacta est>

An E<...> surrounding strange content

An E<...> surrounding strange content

Unknown E content in E<unknown_entity>

Around line 121:

An empty L<>

L<> contains only '/'

L<> starts or ends with whitespace

L<> starts or ends with whitespace

L<> starts or ends with whitespace

Around line 139:

Unterminated L<<< ... >>> sequence

Around line 141:

Unterminated L<<< ... >>> sequence

Around line 145:

alternative text 'some text with / in it' contains non-escaped | or /

Around line 152:

=back doesn't take any parameters, but you said =back 200

Around line 160:

A non-empty Z<>

Around line 166:

An empty E<>

Around line 168:

=over should be: '=over' or '=over positive_number'

You can't have =items (as at line 172) unless the first thing after the =over is an =item

Around line 180:

Expected '=item *'

Around line 182:

Expected '=item *'

Around line 186:

You can't have =items (as at line 190) unless the first thing after the =over is an =item

Around line 206:

Expected '=item *'

Around line 210:

Expected '=item *'

Around line 220:

You have '=item 3' instead of the expected '=item 2'

Around line 224:

Expected '=item 3'

Around line 226:

Expected '=item 4'

Around line 236:

Expected text after =item, not a bullet

Around line 240:

Expected text after =item, not a number

Around line 313:

=over without closing =back