It's definitely problematic to mix Perl modules from your OS vendor with ones from CPAN. If you want to prevent yum from doing this to you again, you can add something like "exclude perl" to your yum.conf. Of course you can still run into bad situations where something else lists a Perl upgrade as a dependency, but at least it won't surprise you.