in reply to Re: Re: Efficient processing of large directory
in thread Efficient processing of large directory
foreach my $n (<*.*>) { # do stuff } ---- my @list = <*.*>; my $i = 0; while ($i <= $#list) { my $n = $list[$i]; # do stuff } continue { $i++; }
------
We are the carpenters and bricklayers of the Information Age.
The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Efficient processing of large directory
by BUU (Prior) on Oct 02, 2003 at 17:51 UTC | |
by merlyn (Sage) on Oct 02, 2003 at 18:54 UTC | |
by dragonchild (Archbishop) on Oct 02, 2003 at 17:53 UTC |