I have some really hard trouble reproducing this in a small test case, or even understanding how this could possibly hit with perl. The doc/perl-base -> perl symlink wouldn't even be valid in a debian/perl-base/ build tree, as it cannot be resolved. pkgstripfiles just ignores invalid symlinks.
But I'm fairly convinced that this specific instance is a perl specific problem. It does some really nasty manual shell hacks to install documentation (no debhelper at all), and I added a test case with a similar scenario which it handles just fine.
I have some really hard trouble reproducing this in a small test case, or even understanding how this could possibly hit with perl. The doc/perl-base -> perl symlink wouldn't even be valid in a debian/perl-base/ build tree, as it cannot be resolved. pkgstripfiles just ignores invalid symlinks.
But I'm fairly convinced that this specific instance is a perl specific problem. It does some really nasty manual shell hacks to install documentation (no debhelper at all), and I added a test case with a similar scenario which it handles just fine.