in reply to Regular expression to list all files of type in folder
Did you put a print "$file\n" before the "next unless" to see if the file even gets returned by readdir?
Also, unless you're using autodie, you should check the status of open and opendir.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Regular expression to list all files of type in folder
by Phinix (Acolyte) on Dec 05, 2012 at 23:55 UTC | |
by LanX (Saint) on Dec 06, 2012 at 00:24 UTC |
In Section
Seekers of Perl Wisdom