Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.91 IO::FileChapter 8
Standard Modules
Next: Reference: new_tmpfile
 

new

$fh = new ([params])

Constructor. Creates an IO::File object, passing any parameters to the method open. If the open fails, the object is destroyed. Otherwise, it is returned to the caller.


Previous: 8.91 IO::FilePerl in a NutshellNext: Reference: new_tmpfile
8.91 IO::FileBook IndexReference: new_tmpfile