in reply to File::Find exit
order is not documented but it works !!!use File::Find::Iterator; my $find = File::Find::Iterator->create(dir => ["."], order => sub { $_[0] cmp $_[1] } ); while (my $f = $find->next) { last if $d =~ /^d/i; .... do some thing };
|
|---|