diff options
author | Abigail <abigail@abigail.be> | 2010-11-09 15:55:32 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2010-11-09 15:55:32 +0100 |
commit | faa783aca54bc58966dd40234b2b711114f9ca60 (patch) | |
tree | 03bc1f7e294110f61aade6d3c685d349ce49c470 /pod/perlipc.pod | |
parent | e5c68ceb8259daf713db735fd29cd28671b93245 (diff) | |
download | perl-faa783aca54bc58966dd40234b2b711114f9ca60.tar.gz |
Some typo fixes reported by Tom Christiansen
Diffstat (limited to 'pod/perlipc.pod')
-rw-r--r-- | pod/perlipc.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlipc.pod b/pod/perlipc.pod index f28d1961b3..bd0db2e1ad 100644 --- a/pod/perlipc.pod +++ b/pod/perlipc.pod @@ -573,7 +573,7 @@ output doesn't wind up on the user's terminal. open(STDIN, "< /dev/null") || die "can't read /dev/null: $!"; open(STDOUT, "> /dev/null") || die "can't write to /dev/null: $!"; defined(my $pid = fork()) || die "can't fork: $!"; - exit if $pid; # non-zero now mean I am the paren + exit if $pid; # non-zero now means I am the paren (setsid() != -1) || die "Can't start a new session: $!" open(STDERR, ">&STDOUT") || die "can't dup stdout: $!"; } @@ -764,7 +764,7 @@ pipes is to use C<"|-"> in place of C<"-|">. This was admittedly a rather silly example, because you're using string literals whose content is perfectly safe. There is therefore no cause to -resort to the harder-to-readm, multi-argument form of pipe open(). However, +resort to the harder-to-read, multi-argument form of pipe open(). However, whenever you cannot be assured that the program arguments are free of shell metacharacters, the fancier form of open() should be used. For example: @@ -1604,7 +1604,7 @@ you'll have to use the C<sysread> variant of the interactive client above. This server accepts one of five different commands, sending output back to the client. Unlike most network servers, this one handles only one incoming client at a time. Multithreaded servers are covered in -Chapter 6 of the Camel. +Chapter 16 of the Camel. Here's the code. We'll |