libwww-perl/libwww-perl — pull request #65 by BugAndNewsReporter (2014-12-12 23:23:38+00:00)
Title: recognize another error message from Socket

when requesting a non-existing domain name, one would expect to see "Bad hostname", instead we only see the generic "Can't connect" because Socket returns the the error "nodename nor servname provided, or not known" in $@.