I have to be overlooking something obvious here... but what?
The first listing of @INC is missing ".". When I print @INC from perl -e further on, "." is in @INC.
What gives?
(In case it wasn't already clear, the module that isn't being found in @INC is found in the current directory.)
UPDATE: Perhaps I should also mention that I the perl executable was just compiled fresh from source, soI suppose something might have gone awry there...
UPDATE 2: Disregard the last update. Same behavior when run with /usr/bin/perl instead of the freshly compiled perl.
angebote@sql2:~/thartman/idealo-perl/tools/install-idealo-cpan-mods$ p
+erl test.pl
Can't locate ModuleList.pm in @INC (@INC contains: /home/angebote/thar
+tman/shellenv/utils /usr/angebote/perlroot/lib/5.8.6/x86_64-linux /us
+r/angebote/perlroot/lib/5.8.6 /usr/angebote/perlroot/lib/site_perl/5.
+8.6/x86_64-linux /usr/angebote/perlroot/lib/site_perl/5.8.6 /usr/ange
+bote/perlroot/lib/site_perl) at test.pl line 6.
BEGIN failed--compilation aborted at test.pl line 6.
angebote@sql2:~/thartman/idealo-perl/tools/install-idealo-cpan-mods$ c
+at test.pl
#!/usr/angebote/perlroot/bin/perl
use strict;
use warnings;
use CPAN;
use ModuleList;
print "blee\n";
angebote@sql2:~/thartman/idealo-perl/tools/install-idealo-cpan-mods$ /
+usr/angebote/perlroot/bin/perl -MModuleList -e 'print "blee\n"'
blee
angebote@sql2:~/thartman/idealo-perl/tools/install-idealo-cpan-mods$ t
+ype perl
perl is aliased to `/usr/angebote/perlroot/bin/perl'
angebote@sql2:~/thartman/idealo-perl/tools/install-idealo-cpan-mods$ p
+erl -MData::Dumper -e 'print Dumper([@INC])'
$VAR1 = [
'/home/angebote/thartman/shellenv/utils',
'/usr/angebote/perlroot/lib/5.8.6/x86_64-linux',
'/usr/angebote/perlroot/lib/5.8.6',
'/usr/angebote/perlroot/lib/site_perl/5.8.6/x86_64-linux',
'/usr/angebote/perlroot/lib/site_perl/5.8.6',
'/usr/angebote/perlroot/lib/site_perl',
'.'
];
angebote@sql2:~/thartman/idealo-perl/tools/install-idealo-cpan-mods$