The code works fine for me too, but I'm not local. It would be interesting to step through it with the Perl debugger and see if something odd is happening inside LWP::Simple, probably with name resolution which is happening locally. Are you running a virtual host Apache server or is there an entry for jtrue.com in your /etc/hosts file? That would explain the anomalous behavior.