in reply to Testing for a directory handle
Maybe I'm missing something, but wouldn't -d (see -X in perlfunc) do the trick (if a "folder" is a directory)? (If a folder is a file, then maybe -f instead?)
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing for a directory handle
by ns550 (Novice) on Jan 29, 2018 at 03:59 UTC | |
by syphilis (Archbishop) on Jan 29, 2018 at 05:06 UTC | |
by ns550 (Novice) on Jan 29, 2018 at 05:24 UTC | |
by syphilis (Archbishop) on Jan 29, 2018 at 06:43 UTC | |
by ns550 (Novice) on Jan 29, 2018 at 23:36 UTC |