This question is a spin-off from this one. Some history: when I first learned Perl, I pretty much always used glob rather than opendir + read
glob
opendir
read
On a similar note, File::Slurp has a function called read_dir.
File::Slurp
read_dir
Since I use File::Slurp's other functions a lot in my scripts, read_dir has also become a habit.
It also has following options: err_mode, prefix, and keep_dot_dot.
err_mode
prefix
keep_dot_dot