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

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

Thread Previous | Thread Next
From:
David Golden
Date:
January 10, 2014 16:01
Subject:
Re: [perl #116433] Get IO::Socket::IP into core for seemless v4/v6 support
Message ID:
CAOeq1c8SS+PMOjNhMcLwOO+HMed344tzbG-Qk+A+oBMd0+oNmg@mail.gmail.com
On Thu, Jan 9, 2014 at 1:39 PM, Paul "LeoNerd" Evans
<leonerd@leonerd.org.uk> wrote:
> 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".

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.

David

-- 
David Golden <xdg@xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

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