API to access the data of a Perl distribution file or directory