Change 31444 by [EMAIL PROTECTED] on 2007/06/22 10:21:12
Subject: [PATCH] perlopentut
From: "Dintelmann, Peter" <[EMAIL PROTECTED]>
Date: Fri, 22 Jun 2007 10:30:50 +0200
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/pod/perlopentut.pod#24 edit
Differences ...
==== //depot/perl/pod/perlopentut.pod#24 (text) ====
Index: perl/pod/perlopentut.pod
--- perl/pod/perlopentut.pod#23~24090~ 2005-03-28 23:01:11.000000000 -0800
+++ perl/pod/perlopentut.pod 2007-06-22 03:21:12.000000000 -0700
@@ -195,7 +195,7 @@
open(SCREEN, "+> lkscreen")
|| die "can't open lkscreen: $!";
- open(LOGFILE, "+>> /var/log/applog"
+ open(LOGFILE, "+>> /var/log/applog")
|| die "can't open /var/log/applog: $!";
The first one won't create a new file, and the second one will always
@@ -230,7 +230,7 @@
$ myprogram file1 file2 file3
-Can have all its files opened and processed one at a time
+can have all its files opened and processed one at a time
using a construct no more complex than:
while (<>) {
@@ -487,7 +487,7 @@
"&" but rather with a "&=" combination, then Perl will not create a
completely new descriptor opened to the same place using the dup(2)
system call. Instead, it will just make something of an alias to the
-existing one using the fdopen(3S) library call This is slightly more
+existing one using the fdopen(3S) library call. This is slightly more
parsimonious of systems resources, although this is less a concern
these days. Here's an example of that:
End of Patch.