As others have pointed out, File::Find is a core module, meaning it is distributed with Perl itself and it doesn't normally need to be installed separately.

Have you confirmed that you need to install the module in the first place? Try the command perl -MFile::Find -le "print -OK", which will either print "-OK" if the module is installed, or die with "Can't locate File/Find.pm in @INC (you may need to install the File::Find module)" if for some reason it is not.

Some distros don't ship all of the core modules, for example hippo has written that is the case for CentOS and RHEL, and suggested to "install the cleverly-named perl-core RPM which is a meta package and pulls in all the core modules as dependencies."

If you're not on one of those OSes and still have the problem, there may be a problem with your Perl installation. In that case try posting the full output of perl -V here inside <code> tags.


In reply to Re: File::Find installation problem by haukex
in thread File::Find installation problem by colox

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.