Log the file which was used to determine the perl version

This makes it easier to track why a specific version was chosen.
Merge pull request #2 from melo/patch-1

Log the file which was used to determine the perl version