Update: if the stuff in /proc/.../fd are file designators, the above obviously doesn't apply, but you should skip the fdopen and just close them with POSIX::close($item) instead.
In reply to Re: Close all open file descriptors
by ysth
in thread Close all open file descriptors
by bschmer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |