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
From:
Paul "LeoNerd" Evans
Date:
January 10, 2014 16:56
Subject:
Re: [perl #116433] Get IO::Socket::IP into core for seemless v4/v6support
Message ID:
20140110165558.09f13882@shy.leonerd.org.uk
On Fri, 10 Jan 2014 11:00:48 -0500
David Golden <xdg@xdg.me> wrote:

> How about making such cases fatal?  Then at least if someone tries to
> do a drop-in replacement, they'll pretty immediately discover any such
> issues.  Trusting that someone is checking the return value seems like
> a bad idea.

Well, one of these can indeed do this (which is hinted at here
  https://rt.cpan.org/Ticket/Display.html?id=91982)

However, the other bug relates more to what the caller does with the
socket handle after constructing it. That one can't really be fixed
from within IO::Socket::IP itself.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Thread Previous | Thread Next


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