Name

open

Synopsis

$fh ->open filename [openmode]

Description

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+).

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.