Reference: open (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: new_tmpfileChapter 8
Standard Modules
Next: 8.91 IO::File
 

open

$fh->open(filename[, mode[, perms]])

Opens the newly-created filehandle. Accepts one, two, or three parameters. With one parameter, it acts as a front-end for Perl's built-in open function. With two parameters, the first parameter is a filename and the second is the open mode, optionally followed by a third parameter, the file permission value.


Previous: Reference: new_tmpfilePerl in a NutshellNext: 8.91 IO::File
Reference: new_tmpfileBook Index8.91 IO::File

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.