in reply to Glob vs File::Util vs File::Find

Re "finding files located in a single (known) directory "
Seems to me you could just use the opendir() built-in, possibly with chdir().

Replies are listed 'Best First'.
Re: Glob vs File::Util vs File::Find
by Zenshai (Sexton) on Jun 30, 2008 at 14:53 UTC

    A related question: Has anyone benchmarked these against one another?

    I am considering using either File::Util or File::Find to recursively walk a directory tree pulling out file metadata (size, mtime, etc.) with stat(), but I need to use the fastest possible method. Anyone know from previous experience which one that would be?

    Thanks,
    - Zen