how to tell perl where to find a clearly installed module?
lists at avi.co
Wed Sep 21 23:39:13 UTC 2011
Robert P. J. Day wrote:
> what is the proper solution to this? i can try to set and export
> PERL5DIR right away but is that the normal way to handle this?
use lib '/usr/share/perl5';
to the top of the failing script, which will add that directory to the
start of @INC. That's the 'normal' way to add directories to @INC
The actual solution, though, is to file a bug against the package, and
ideally find where in the package it's faffing with @INC and put that
info in the bug report.
More information about the ubuntu-users