The "Bad file descriptor" error in $! is almost certainly a red-herring left over from some internal processing of no consequence to your code. Try printing $^E and see what that tells you?
In reply to Re: Bad File Descriptor
by BrowserUk
in thread Bad File Descriptor
by mwhiting
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |