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

Re: [perl #116433] Get IO::Socket::IP into core for seemless v4/v6support

Thread Previous | Thread Next
Paul "LeoNerd" Evans
January 9, 2014 18:39
Re: [perl #116433] Get IO::Socket::IP into core for seemless v4/v6support
Message ID:
On Thu, 9 Jan 2014 16:49:21 +0000
Nicholas Clark <> wrote:

> By using Acme::Overide::INET (thanks xdg, this makes things a lot
> easier)* I've found a couple of things that differ in behaviour from
> IO::Socket::INET, and aren't documented as incompatibilities.
> Reported as
> In one case, we seem to be getting a silent constructor failure.

Having looked at them, they both fall into the category of "existing
code doing morally-dubious things with IO::Socket::INET that
nevertheless managed to work there", which isn't going to work in a
more general case.

Hard to see what a sensible course of action is here. I'm not overly
inclined towards making IO::Socket::IP do odd things just
because ::INET did them, so they may have to be filed under the general
banner of "don't do that".

Paul "LeoNerd" Evans
ICQ# 4135350       |  Registered Linux# 179460

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About