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


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_tmpfile Perl in a Nutshell Next: 8.91 IO::File
Reference: new_tmpfile Book Index 8.91 IO::File

Library Navigation Links

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