in reply to Re: why would opendir fail?
in thread why would opendir fail?

Bingo! (Almost) It turned out to be a preceding space. Thanks for putting the bug in my head!