in reply to Recursive opendir without

Do you really need to keep the directory handle open? Cant you just push its content in an arry or save that in any other way? You don't need to keep the dir open if you want to open a subdir of that. And you might think about using File::Find

Have a nice day
All decision is left to your taste

Replies are listed 'Best First'.
Re: Re: Recursive opendir without
by bobione (Pilgrim) on Apr 11, 2001 at 19:31 UTC
    It's a good idea but is it really necesary ? Does an open file/dir handler use more ressource than @array ?
    I am sure File::Find is THE way, as jeffa, idnopheq and you said, but my topic was "Recursive opendir without File::Find" (and it was troncate. ???).
    Thanks again.
    BoBiOne