in reply to Re:x2 Opendir error (don't filter with a regex)
in thread Opendir error

Yes. And depending on the processing job, I would encourage the use of !/^\./ whenever possible. Filenames beginning with a dot are supposed to be "hidden", so unless you need to process "hidden" files as well, you should ignore all names that start with a dot.

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.