new_from_fd
new_from_fd (fd,mode)
- Constructor. Like
new, creates an IO::Handle object. It requires two parameters, which are passed to the methodfdopen; if thefdopenfails, the object is destroyed. Otherwise, it is returned to the caller.
new_from_fd (fd,mode)
new, creates an IO::Handle object. It requires two parameters, which are passed to the method fdopen; if the fdopen fails, the object is destroyed. Otherwise, it is returned to the caller.