in reply to Re: Procesing directories
in thread Procesing directories
This will skip any file with one or two periods. This might cause trouble at the mill.if ($tmp =~ /\.\.?/) { next; }
\w will only match letters and _. You put a / in.$tmp = "$dir/$tmp"; if ($tmp =~ /^(\w*)\.(jpg|jpeg)$/)
|
|---|