in reply to using File::Find for reading files in order
Another tip: In the find sub, $_ is equivalent to File::Find::name, so you could do:
find sub { push @messages, $_ if (-d $_ && !/^\.+$/); }, $dir
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using File::Find for reading files in order
by merlyn (Sage) on Feb 04, 2009 at 15:14 UTC | |
by hbm (Hermit) on Feb 04, 2009 at 16:37 UTC |