in reply to
processing a lot of files
In addition to the suggestions made by others, keep in mind that
readdir
will also return sub-directory names, as well as file names. You may need to filter out directories using
-X
:
while(my $f = readdir($dh)){ next if -d "$dir/$f";
[download]
Comment on
Re: processing a lot of files
Download
Code
Replies are listed 'Best First'.
Re^2: processing a lot of files
by
lomSpace
(Scribe)
on Jul 28, 2009 at 21:26 UTC
That is a good look Toolic!
Thanks!
LomSpace
[reply]
In Section
Seekers of Perl Wisdom