Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^5: glob() and dot files

by Marshall (Canon)
on Apr 18, 2020 at 06:38 UTC ( [id://11115715] : note . print w/replies, xml ) Need Help??

in reply to Re^4: glob() and dot files
in thread glob() and dot files

Good comments.
Instead of something like: C:\Program Files\FooBar v1.23, I use personally would use: C:\Program Files\FooBar v1_23. However not all folks think that way. True.

Having said that, I am a supporter of using readdir(). Having been burned a few times with different versions of glob(), I use readdir() for all production code. I do sometimes use glob() for short tests where my code is just looking in the current dir for specific ".suffixes".