For the same reason, perldoc -v %SIG also produces bad POD.
The bugs are still present in blead.
Untested fix for Pod/Perldoc.pm:
sub search_perlvar {
.
.
.
elsif (/^=back/) {
--$inlist;
}
.
.
.
}
#.....................................................................
+.....
sub search_perlfunc {
.
.
.
elsif (/^=back/) {
--$inlist;
}
.
.
.
}
should be
sub search_perlvar {
.
.
.
elsif (/^=back/) {
last if $found && !$inheader && !$inlist;
--$inlist;
}
.
.
.
}
#.....................................................................
+.....
sub search_perlfunc {
.
.
.
elsif (/^=back/) {
last if $found > 1 and not $inlist;
--$inlist;
}
.
.
.
}
Want the honours of reporting it?