Hello
Such a situation is possible because installation paths for perl modules can be a little bit mixed.
To example you have perl binary from rpm, then you decided to reinstall CPAN module from from its original source, then it's possible that further modules you are installing is copied in the little bit different paths then perl contains in @INC variable.

At least I saw this situation on my computer, when I tried to use existing perl from rpm and install mod_perl by manlually compiling its source. I would suggest you to reinstall perl, then apache, then mod_perl. I that case everything will be work fine for sure
--
Alex

In reply to Re: newbie mod_perl: @INC and Apache::Constants by mod_alex
in thread newbie mod_perl: @INC and Apache::Constants by rkg

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.