http://www.perlmonks.org?node_id=1119109


in reply to Stat function returning an empty list

readdir doesn't return the path to the file, just the file name. You have a file called "Language/French.txt" but are statting just "French.txt". Change your stat call to:
stat("dir/$_");