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/$_");
[download]
Comment on
Re: Stat function returning an empty list
Download
Code
Replies are listed 'Best First'.
Re^2: Stat function returning an empty list
by
The_Last_Monk
(Novice)
on Mar 06, 2015 at 21:16 UTC
You, Mr.Paladin, are a saviour :)
[reply]
In Section
Seekers of Perl Wisdom