projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32b2ae0
)
Re: [perl #18626] bug in perlipc man page
author
Slaven Rezic
<slaven@rezic.de>
Sat, 23 Nov 2002 21:23:20 +0000
(22:23 +0100)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 26 Nov 2002 19:53:26 +0000
(19:53 +0000)
Message-ID: <87bs4gdohz.fsf@vran.herceg.de>
p4raw-id: //depot/perl@18183
pod/perlipc.pod
patch
|
blob
|
history
diff --git
a/pod/perlipc.pod
b/pod/perlipc.pod
index
40693a5
..
f55bdff
100644
(file)
--- a/
pod/perlipc.pod
+++ b/
pod/perlipc.pod
@@
-1388,7
+1388,7
@@
Here's the code. We'll
$client->autoflush(1);
print $client "Welcome to $0; type help for command list.\n";
$hostinfo = gethostbyaddr($client->peeraddr);
- printf "[Connect from %s]\n", $hostinfo
->name ||
$client->peerhost;
+ printf "[Connect from %s]\n", $hostinfo
? $hostinfo->name :
$client->peerhost;
print $client "Command? ";
while ( <$client>) {
next unless /\S/; # blank line