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".
In reply to Re^5: glob() and dot files
by Marshall
in thread glob() and dot files
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |