in reply to Re^2: manpages file naming - a filesystem difference dilemma
in thread manpages file naming - a filesystem difference dilemma

As I read your initial post, I came up with the same idea as shmem. But after some digging, I think there's an easier solution.

Manpage separators are provided by replace_manpage_separator() in each EU::MM_* file. But the method is only called from EU::MM_Unix::init_MAN3PODS(). So you might be able to just patch that file to do something specific instead of calling the OS-specific EU::MM_* file.

- $manpagename = $self->replace_manpage_separator($manpagename); + $manpagename =~ s{/+}{.}g; # from MM_Cygwin.pm

The inheritance structure is hard to follow or I'd suggest something more clever than copy/patch.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.