in reply to Can I get the file descriptor of a file from perl and use the same in system calls like read(), select() etc

You can get the file descriptor using the fileno function, and you can use it in conjunction with Perl's select call, but other I/O operations (like read) just use the filehandle itself.

  • Comment on Re: Can I get the file descriptor of a file from perl and use the same in system calls like read(), select() etc