I was thinking here about the person reading the code more than the code
Maybe it's just me, but I think the person also doesn't need a -d check in addition to opendir to know a directory is being opened.
In reply to Re^4: Quickest way to get a list of all folders in a directory
by ikegami
in thread Quickest way to get a list of all folders in a directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |