For supporting old perl4 stuff, I suggest that the perl build process
should attempt to automatically build, test, and install in the
machine-DEPENDENT directories some remedial *.ph files. These
might be a reasonable list:
socket.ph
syscall.ph
errno.ph
fcntl.ph
syslog.ph
wait.ph
actually, those may be in sys/foo.ph.
if we were doing more, i might add
sysexits.ph
utmp.ph
lastlog.ph
limits.ph
resource.ph
--tom
------- start of forwarded message -------
Path: csnews!boulder!csn!symbios.com!southwind.net!news.sprintlink.net!in2.uu.net!news.mathworks.com!tank.news.pipex.net!pipex!swrinde!sgigate.sgi.com!news1.best.com!shellx.best.com!hedlund.vip.best.com!user
From: hedlund@best.com (M. Hedlund)
Newsgroups: comp.lang.perl.misc
Subject: Re: Perl5, Solaris 2.4, socket.ph
Date: Tue, 12 Sep 1995 10:32:40 -0700
Organization: Precipice
Lines: 17
Message-ID: <hedlund-1209951032400001@hedlund.vip.best.com>
References: <4326ih$7f4@canopus.cc.umanitoba.ca>
NNTP-Posting-Host: hedlund.vip.best.com
rahardj@cc.umanitoba.ca (Budi Rahardjo) wrote:
> We have various problems related to socket.ph (generated
> with h2ph, which I believe taken from the old perl4, SunOS
> binary). Does perl5 come with h2ph (I couldn't find it)?
> if not, how do I generate socket.ph (and other .ph files)?
For sockets, put
use Socket;
at the top of your script and it will do the rest. For more information
on Socket.pm (the Perl5 module imported when you 'use Socket;'), type
'perldoc Socket' from the shell.
'h2ph' is also in my 5.001m top-level directory (with its man page),
though it was not installed by 'make install'.
M. Hedlund <hedlund@best.com>
[.n.b.: I tend to post and mail my responses to news articles.]
------- end of forwarded message -------
--
Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
Yield to Temptation ... it may not pass your way again.
--Lazarus Long, "Time Enough for Love"
should attempt to automatically build, test, and install in the
machine-DEPENDENT directories some remedial *.ph files. These
might be a reasonable list:
socket.ph
syscall.ph
errno.ph
fcntl.ph
syslog.ph
wait.ph
actually, those may be in sys/foo.ph.
if we were doing more, i might add
sysexits.ph
utmp.ph
lastlog.ph
limits.ph
resource.ph
--tom
------- start of forwarded message -------
Path: csnews!boulder!csn!symbios.com!southwind.net!news.sprintlink.net!in2.uu.net!news.mathworks.com!tank.news.pipex.net!pipex!swrinde!sgigate.sgi.com!news1.best.com!shellx.best.com!hedlund.vip.best.com!user
From: hedlund@best.com (M. Hedlund)
Newsgroups: comp.lang.perl.misc
Subject: Re: Perl5, Solaris 2.4, socket.ph
Date: Tue, 12 Sep 1995 10:32:40 -0700
Organization: Precipice
Lines: 17
Message-ID: <hedlund-1209951032400001@hedlund.vip.best.com>
References: <4326ih$7f4@canopus.cc.umanitoba.ca>
NNTP-Posting-Host: hedlund.vip.best.com
rahardj@cc.umanitoba.ca (Budi Rahardjo) wrote:
> We have various problems related to socket.ph (generated
> with h2ph, which I believe taken from the old perl4, SunOS
> binary). Does perl5 come with h2ph (I couldn't find it)?
> if not, how do I generate socket.ph (and other .ph files)?
For sockets, put
use Socket;
at the top of your script and it will do the rest. For more information
on Socket.pm (the Perl5 module imported when you 'use Socket;'), type
'perldoc Socket' from the shell.
'h2ph' is also in my 5.001m top-level directory (with its man page),
though it was not installed by 'make install'.
M. Hedlund <hedlund@best.com>
[.n.b.: I tend to post and mail my responses to news articles.]
------- end of forwarded message -------
--
Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
Yield to Temptation ... it may not pass your way again.
--Lazarus Long, "Time Enough for Love"