Jeff King [off-list ref] writes:
I always assumed that it was the responsibility of the user or the
packager to put Git.pm into a sane place that is found by perl's normal
lookup (possibly via the user's PERL5LIB if it is a per-user
installation).
Unfortunately, not really.
See what this target does in our Makefile:
$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
Our scripts know where INSTLIBDIR is, so that we can redirect INSTLIBDIR
to whatever directory that the packager or the user wants to, which may be
outside the usual PERL5LIB.
Especially with NO_PERL_MAKEMAKER installation, perl/Makefile points at
$(prefix)/lib with INSTLIBDIR, and $(prefix) is by default $(HOME), so...