Of course there is no guarantee that your modules are installed in /usr/ so you may want to find the directories you are searching using the following code if you are using b10m's solution
Of course there's no guarantee, that's why I wrote "most likely". "My solution" comes in handy when you know you installed the modules, but you somehow can't seem to use them (read: they're not in %INC). Otherwise, I would strongly suggest to use for example borisz' solution.

I understand. I was pointing out a way to double check where the modules were installed.

Note that you need read access to these directories, so if your box is properly locked down this may mean you need root access.
You would have quite a paranoid sysadmin, if you can't read the Perl modules' directories, but of course, it's possible :)

Not really. It is standard procedure on a lot of boxes to make a directory readable but not executable, so you can access any programs you know the path of, but you can't list the directories contents. This means that although % ls -l /usr/bin wouldn't tell you what programs were installed, /usr/bin/perl would still work because you could read and execute the program /usr/bin/perl although you couldn't figure out if someone had perl installed by % ls /usr/bin/perl. Install programs in non standard paths and users can't even guess the path.

Update: fixed my dyslexia. Thanks b10m!


In reply to Re: Re: Finding modules by Vautrin
in thread Finding modules by Anonymous Monk

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.