in reply to
Read only Files in a Directory
Your file test does not include the complete path to the files so perl is looking in the current working directory for them.
Comment on
Re: Read only Files in a Directory
In Section
Seekers of Perl Wisdom