in reply to Faster Method for Gathering Data

And how fast is the equivalent find command? Do something like:
$ time find dir1 dir2 dir3 -name '*.sgml' > /dev/null

If that also takes hours, the problem isn't at your Perl program.

Abigail

Replies are listed 'Best First'.
Re: Re: Faster Method for Gathering Data
by ChrisS (Monk) on Jul 31, 2003 at 12:49 UTC
    If the requester isn't on Unix, would wrapping the appropriate system("") call with some code to store the start and finish time be useful?

    Maybe the Benchmark module?

    I don't know, just wanted to see if such a strategy might be worthwhile.