in reply to Re: Can't locate File::Find::Rule in @INC
in thread Can't locate File::Find::Rule in @INC

which perl gives /usr/bin/perl only
  • Comment on Re^2: Can't locate File::Find::Rule in @INC

Replies are listed 'Best First'.
Re^3: Can't locate File::Find::Rule in @INC
by borisz (Canon) on Oct 27, 2004 at 13:12 UTC
    try:
    perl -MCPAN -e'install File::Find::Rule' perl -MFile::Find::Rule -e'print $INC{"File/Find/Rule.pm"}' /usr/bin/perl -MFile::Find::Rule -e'print $INC{"File/Find/Rule.pm"}'
    Check your PER5LIB env var.
    Try it as the same user that runs the cpan shell.
    Boris
      /usr/lib/perl5/site_perl/5.8.0/File/Find/Rule.pmbslin03:/usr/lib/perl5 +/5.8.0/i586-linux-thread-multi
      this is the output from those above commands
        If the lines above work, it is found!
        perl -MFile::Find::Rule -e '$,="\n";print File::Find::Rule->directory- +>in( "." )'
        Boris