home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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 method fdopen ; if the fdopen fails, the object is destroyed. Otherwise, it is returned to the caller.