Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Glob vs File::Util vs File::Find

by chrism01 (Friar)
on Jun 13, 2008 at 06:18 UTC ( [id://691849]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://691849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-29 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found