Index: ocsinventory-agent-0.0.9.2repack1/lib/Ocsinventory/Agent/Backend.pm =================================================================== --- ocsinventory-agent-0.0.9.2repack1.orig/lib/Ocsinventory/Agent/Backend.pm 2008-11-21 11:31:12.000000000 +0100 +++ ocsinventory-agent-0.0.9.2repack1/lib/Ocsinventory/Agent/Backend.pm 2008-11-21 11:31:20.000000000 +0100 @@ -46,6 +46,7 @@ # changes the @INC content if i use $_ directly # thanks to @rgs on irc.perl.org foreach my $d (@INC) { + next if $d eq "."; next unless -d $d; File::Find::find( sub { push @installed_mod, $File::Find::name if $File::Find::name =~ /Ocsinventory\/Agent\/Backend\/.*\.pm$/;