| 1 | Description: Ignore modules in perl-base in pman. |
| 2 | pman shows the POD from modules, and takes the first in @INC. In Debian, |
| 3 | the .pm files in perl-base have their POD documentation stripped away, and |
| 4 | those are now first on @INC even when libperl5.30 are perl-modules-5.30 are |
| 5 | installed (see #962138). |
| 6 | As all .pm files in perl-base are also in the other packages, just ignore |
| 7 | the pod-less ones in paths matchig perl-base. |
| 8 | Origin: vendor |
| 9 | Bug-Debian: #963408 |
| 10 | Forwarded: not-needed |
| 11 | Author: gregor herrmann <[email protected]> |
| 12 | Last-Update: 2020-07-21 |
| 13 | |
| 14 | --- a/bin/pman |
| 15 | +++ b/bin/pman |
| 16 | @@ -29,6 +29,7 @@ |
| 17 | my $iter = pmtools::new_pod_iterator($module); |
| 18 | |
| 19 | while (my $pod = $iter->()) { |
| 20 | + next if $pod =~ /\bperl-base\b/; |
| 21 | if (-s $pod) { |
| 22 | $path = $pod; |
| 23 | $found++; |