http://www.perlmonks.org?node_id=712864


in reply to LWP running as cgi

Try substituting www.yahoo.com with one of yahoo's ip addresses, if it works then you can be pretty certain that it is a DNS issue. I think, Fedora 8 comes with SElinux installed and configured, so that's most likely what is causing the issue.