Jens M. Felderhoff wrote:I would not expect lib.pm to implicitly append 'perl5/site_perl' ever.> I locally installed the VCS::CMSynergy module in my home directory on
> two different hosts (SunOS 5.9 with Perl 5.8.0 and Linux
> 2.4.21-231-smp4G with perl 5.8.1) using
> perl Makefile.PL PREFIX=$HOME;make install
> Here is a little test script installed in ~/bin on both hosts:
> use strict;
> use warnings;
> use FindBin;
> use lib "$FindBin::Bin/../lib";
> use VCS::CMSynergy;
> print "Okay, found it!\n";
> Running this script on the Solaris host yields:
> $ testperl
> Okay, found it!
> On Linux (output wrapped for readability):
> $ testperl Can't locate VCS/CMSynergy.pm in INC (INC contains:
> /usr/lib/perl5/5.8.1/i586-linux-thread-multi /usr/lib/perl5/5.8.1
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at
> /home/swcfelde/bin/perltest line 8. BEGIN failed--compilation
> aborted at /home/swcfelde/bin/perltest line 8
> The CMSynergy.pm module resides in ~/lib/perl5/site_perl/5.8.1/VCS on
> both hosts.
> However, subdirectories seem to be scanned in the first
> case only.
Can we see the %Config on from each system please?
perl -MConfig -MData::Dumper -e'print Dumper \%Config'
I suspect is was most likely perverse build-time options in the solaris> When I change the "use lib" statement to
> use lib "$FindBin::Bin/../lib/perl5/site_perl";
> it also works for the second case.
> Why is there a different behavior? The FindBin.pm modules of the two
> Perl installations are syntactically equal.
> The lib.pm modules have different versions (0.5564 vs. 0.5565)
> although I did not see any significant changes that might lead to the
> described behavior.
> Is that an undoented internal Perl change?
\\ ( )
.__/ \\ /\
# ll l\\