From: Tom Phoenix Date: Thu, 18 Jun 1998 23:37:32 +0000 (-0700) Subject: docs creating files via open X-Git-Tag: accepted/trunk/20130322.191538~37620 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbb426e4e4fa9111602f64c566d240fa509dea6f;p=platform%2Fupstream%2Fperl.git docs creating files via open Message-ID: p4raw-id: //depot/perl@1168 --- 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