I'd suspect that yum, being a general purpose package manager (not specialized to Perl), just checks its installation database to see if Log::Any is installed, instead of actually trying to load the module...
So either simply force installation of Mason and see if the (cpan-)installed Log::Any is found afterwards, or install the respective Log::Any RPM package via yum, so it does update its database of installed packages.
P.S.: Generally, it's not a good idea to install your own Perl modules via cpan into the system perl (you might mess up version integrity/compatibility - unless you know exactly what you're doing). To add packages to the system perl, install the distro-supplied (rpm) packages. In case you want or need to use cpan, set up (and use) a second perl installation, which you can then extend independently of the system perl.
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, 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, 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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
|
|