develooper Front page | perl.perl5.porters | Postings from January 2014

Re: Patch for perldoc IO::Socket::UNIX (see http://perldoc.perl.org/IO/Socket/UNIX.html) to provide examples

Thread Previous
From:
Leon Timmermans
Date:
January 8, 2014 13:15
Subject:
Re: Patch for perldoc IO::Socket::UNIX (see http://perldoc.perl.org/IO/Socket/UNIX.html) to provide examples
Message ID:
CAHhgV8iwXuZX1FWo=YgeqkcLAKRQB1DbPY+V1YghdEBF2swOgg@mail.gmail.com
On Wed, Jan 8, 2014 at 12:50 PM, Shlomi Fish <shlomif@shlomifish.org> wrote:

> I noticed http://perldoc.perl.org/IO/Socket/UNIX.html does not contain any
> examples (including not in the synopsis). If acceptable, I can a prepare a
> patch that will include a simple server and a client for UNIX domain
> sockets,
> see: http://www.mail-archive.com/beginners%40perl.org/msg116942.html
>
> Can it be in a section called EXAMPLES, or should it be in the SYNOPSIS?
>

I think having a short example in the synopsis is good. And while you're at
it, you might as well get rid of the autoflush note, given IO::Socket 1.18
being fairly ancient (it shipped with 5.6.0).

Leon

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About