in reply to Re: RFC: Perl Second-Best Practices
in thread RFC: Perl Second-Best Practices
In $CPAN/src/unsupported/4.036/perl-4.036.tar.gz, you'll find a file named lib/chat2.pl, which contains:
Yes, these were the correct constants on BSD, but they were wrong for SysV, which meant that every SysV user sent me bug reports about why chat2 didn't work for them. {sigh}unless (socket(S, 2, 1, 6)) { # XXX hardwired $AF_SOCKET, $SOCK_STREAM, 'tcp' # but who the heck would change these anyway? (:-)
Thankfully, that file was "retired" as of Perl5, being replaced by the Expect module.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: RFC: Perl Second-Best Practices
by merlyn (Sage) on Mar 30, 2017 at 02:24 UTC | |
by Your Mother (Archbishop) on Mar 30, 2017 at 02:47 UTC |