Bug#422165: perl-base: IO::Socket::INET mis-reports gethostbyname problems

2013-12-14 Thread Niko Tyni
forwarded 422165 https://rt.perl.org/Public/Bug/Display.html?id=120764 thanks On Thu, May 03, 2007 at 08:47:58PM -0300, Martín Ferrari wrote: > Package: perl-base > Version: 5.8.8-7 > Severity: normal > > $ LANG=C perl -MIO::Socket::INET -e 'new > IO::Socket::INET(PeerAddr => "non.existant.host",

Bug#422165: perl-base: IO::Socket::INET mis-reports gethostbyname problems

2007-05-03 Thread Martín Ferrari
Package: perl-base Version: 5.8.8-7 Severity: normal $ LANG=C perl -MIO::Socket::INET -e 'new IO::Socket::INET(PeerAddr => "non.existant.host", PeerPort => 25) or die $!' Invalid argument at -e line 1. This is on purpose, as when I read the code, the _error subroutine sets $! with EINVAL and $@ w