I see that Athanasius already demonstrated how to install a module using the cpan or cpanm commands. Alternatively, you could look for a Fedora package (some CPAN modules are provided as packages by the vendor). Look for a package name that starts with perl-Path-Class.