in reply to Re: special directory entries
in thread special directory entries

It is interesting to note that opendir/readdir is signifigantly faster than glob. But then again its less readable.

Yves / DeMerphq
--
Have you registered your Name Space?

Replies are listed 'Best First'.
Re: Re: Re: special directory entries
by strat (Canon) on Dec 04, 2001 at 21:50 UTC
    @Yves: yes, that's true; I just prefer using File::DosGlob because it might turn the code a little bit clearer, and in addition to that allows you to ask only for files matching a pattern. But sometimes performance really is important. Best regards, Martin aka Strat