Closed p5pRT closed 21 years ago
Possible documentation bug in perlipc. (Please ignore this if it's been fixed or if I'm wrong!)
In the section "Unix-Domain TCP Clients and Servers" the following example is used:
unless ( -S '/dev/log' ) { die "something's wicked with the print system"; }
I could be wrong\, but IIRC /dev/log belongs to syslogd and is unrelated to the print system (/var/run/printer on my system).
[cleaning up old tickets]
patch against perl-current
R.
diff -c /root/perl-current/pod/ /root/perl-patched/pod/perlipc.pod
*** /root/perl-current/pod/perlipc.pod Fri Apr 28 11:19:06 2000
--- /root/perl-patched/pod/perlipc.pod Sun Jul 23 01:25:31 2000
***************
*** 837\,843 ****
You can test for these with Perl's B\<-S> file test:
unless ( -S '/dev/log' ) {
! die "something's wicked with the print system";
}
Here's a sample Unix-domain client:
--- 837\,843 ----
You can test for these with Perl's B\<-S> file test:
unless ( -S '/dev/log' ) {
! die "something's wicked with the log system";
}
Here's a sample Unix-domain client:
unless \( \-S '/dev/log' \) \{
! die "something's wicked with the log system";
Thanks.
patch submitted to p5p
patch submitted to p5p
Migrated from rt.perl.org#850 (status was 'resolved')
Searchable as RT850$