The stupid question is the question not asked | |
PerlMonks |
Re: Open a file on a specific file descriptor?by Anonymous Monk |
on Jan 02, 2008 at 14:53 UTC ( [id://659987]=note: print w/replies, xml ) | Need Help?? |
Looping until you reach the fd is wasteful. Use POSIX::dup2.
In Section
Seekers of Perl Wisdom
|
|