File::ShareDir::PathClass is just a wrapper around File::ShareDir functions, transforming their return value to Path::Class objects. This allows for easier usage of the value. WWW: https://metacpan.org/release/File-ShareDir-PathClass