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 $@ with the correct error. Which nobody expects (like the spanish inquisition), nor is documented (save a example in the manpage that seems like a typo). From the perlvar manpage: $@ The Perl syntax error message from the last eval() operator. So this clearly is a bug. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (901, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-686 Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Versions of packages perl-base depends on: ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries perl-base recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]