Current File : //usr/share/perl5/auto/share/dist/File-ShareDir/sample.txt
This is a sample shared file.

You should be able to locate it using the following

  use File::ShareDir ();
  
  module_file('File::ShareDir', 'sample.txt');