From fbb426e4e4fa9111602f64c566d240fa509dea6f Mon Sep 17 00:00:00 2001 From: Tom Phoenix Date: Thu, 18 Jun 1998 16:37:32 -0700 Subject: [PATCH] docs creating files via open Message-ID: p4raw-id: //depot/perl@1168 --- pod/perlfunc.pod | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 25a97ff..31367ed 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2127,8 +2127,9 @@ to open.) If the filename begins with '<' or nothing, the file is opened for input. If the filename begins with '>', the file is truncated and opened for -output. If the filename begins with '>>', the file is opened for -appending. You can put a '+' in front of the '>' or '<' to indicate that +output, being created if necessary. If the filename begins with '>>', +the file is opened for appending, again being created if necessary. +You can put a '+' in front of the '>' or '<' to indicate that you want both read and write access to the file; thus '+<' is almost always preferred for read/write updates--the '+>' mode would clobber the file first. You can't usually use either read-write mode for updating -- 2.7.4