start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.83 FileHandle Chapter 8
Standard Modules
Next: Reference: new_from_fd
 

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.


Previous: 8.83 FileHandle Perl in a Nutshell Next: Reference: new_from_fd
8.83 FileHandle Book Index Reference: new_from_fd