Hi,
I'm using File::Find to look for files, but File::Find appears to traverse to folders in reverse aphabetical order, that is always starting from the last directory up to the first.
I could of course put everything in an array and reverse it, but I could then be loading an huge array in memory.
Is there a way to tell File::Find to search alphabetically?
Another issue that I wonder...Is it possible to to return the contents on File::Find into an array, something like:
my @files = find();
(I know I wrote that I didn't want to load an array above in the thread, but this is another scenario).
AD AUGUSTA PER ANGUSTA
Thierry
I'm using File::Find to look for files, but File::Find appears to traverse to folders in reverse aphabetical order, that is always starting from the last directory up to the first.
I could of course put everything in an array and reverse it, but I could then be loading an huge array in memory.
Is there a way to tell File::Find to search alphabetically?
Another issue that I wonder...Is it possible to to return the contents on File::Find into an array, something like:
my @files = find();
(I know I wrote that I didn't want to load an array above in the thread, but this is another scenario).
AD AUGUSTA PER ANGUSTA
Thierry