summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorPeter Dintelmann <Peter.Dintelmann@Dresdner-Bank.com>2007-06-22 12:30:50 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2007-06-22 10:21:12 +0000
commit1b9762da0ef5859330e74d4e715a45cb987232f7 (patch)
treeca391eb1e75e576ce20ba2a1fef555eea0ee9ff5 /pod
parent2e9cace9596b3862ebff48acafceb716ac529796 (diff)
downloadperl-1b9762da0ef5859330e74d4e715a45cb987232f7.tar.gz
perlopentut
From: "Dintelmann, Peter" <Peter.Dintelmann@Dresdner-Bank.com> Message-ID: <3852726AFA94DE4F87E616F13F416A5FB66C78@naimucu1.ffz00k.rootdom.net> p4raw-id: //depot/perl@31444
Diffstat (limited to 'pod')
-rw-r--r--pod/perlopentut.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlopentut.pod b/pod/perlopentut.pod
index f023434ed3..cd97fdce6a 100644
--- a/pod/perlopentut.pod
+++ b/pod/perlopentut.pod
@@ -195,7 +195,7 @@ whether it only works on existing files or always clobbers existing ones.
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 @@ on each file in @ARGV. Thus a program called like this:
$ 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 @@ If the filehandle or descriptor number is preceded not just with a simple
"&" 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: