in reply to
Mason on CentOS 6
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.