in reply to Using File::ShareDir in development
Try to look at File::ShareDir::ProjectDistDir, which does that out of the box.