(Yes, File::Find is slower than hand rolled traversal. A heck of a lot less (and clearer) code, though, and still beats the dir /s approach by miles.)use File::Find; my $size; find(sub { $size += -s _ if -f }, $TargetPath);
Makeshifts last the longest.
In reply to Re^4: Out of memory.
by Aristotle
in thread Out of memory.
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |