Приглашаем посетить
Иностранная литература (ino-lit.ru)

Reference: new

PreviousChapter 8
Standard Modules
Next
 

new

$fh = new FileHandle [filename[, mode]]

Constructor. Creates a FileHandle, which is a reference to a newly created symbol. The optional parameters, filename and mode, are passed to open. The FileHandle object is returned if the open succeeds, otherwise it is destroyed.


PreviousHomeNext
8.83 FileHandleBook IndexReference: new_from_fd