Package: rlwrap Version: 0.37-3 Severity: wishlist The conventional namespace for application-specific Perl modules is App::⟨package name⟩::⟨module name…⟩. Moreover, the conventional directory for Perl modules is /usr/share/perl5, and indeed, – it’s already in @INC, while /usr/share/rlwrap isn’t.
Therefore, my suggestion would be to move RlwrapFilter.pm from /usr/share/rlwrap to /usr/share/perl5/App/Rlwrap/Filter.pm, and edit its ‘package’ line (as well as the filters’ ‘use’ lines) respectively. (In order to preserve compatibility, a “redirecting” .pm may be installed at the former location.) This will bring the module in line with the other Perl modules in Debian, and will allow for a Perl filter to be started with simple ‘use App::Rlwrap::Filter;’ instead of the current form, which explicitly the Perl module search path (as shown below.) use lib ($ENV{RLWRAP_FILTERDIR} or "."); use RlwrapFilter; AIUI, the non-standard RLWRAP_FILTERDIR becomes completely unnecessary after the change, but may be retained for compatibility with the filters following the current convention. -- FSF associate member #7257 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org