in reply to Re^2: Testing for a directory handlein thread Testing for a directory handle
If you do find this general technique useful, I'll just highlight two sections from the warnings pragma documentation which you may want to look at:
— Ken