> I am trying to access a web site with PERL. > > I can telnet to the site but when I do it from PERL, I get: > HTTP/1.1 400 Bad Request > > The code is at: > http://www.lockie.ca/test/ip.pl I changed the code to use "\r\n" instead of "\n" (it didn't work with \n\r) and it works. Can someone please explain that to me?