in reply to Re^4: Why does fpathconf give "bad file descriptor"?
in thread Why does fpathconf give "bad file descriptor"?

Ah! He said glob in Re^2, but he's actually passing a ref to a glob in the OP (which becomes a number with no warning).

  • Comment on Re^5: Why does fpathconf give "bad file descriptor"?

Replies are listed 'Best First'.
Re^6: Why does fpathconf give "bad file descriptor"?
by madscientist (Novice) on Apr 01, 2010 at 01:56 UTC
    Yes, sorry, I was unclear: the code I am using is identical to my original post so I'm using a ref. I do indeed use -w and use strict always.