$ fh ->open filename [ openmode ]
fh
filename
openmode
Takes filename and, optionally, the open mode, and opens a file. If the mode is present, it can be either in Perl form (e.g., > , +< ) or in POSIX form (e.g., w , r+ ).
>
+<
w
r+
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]