   HTTP Protocol Wtih PERL
  I want to use PERL to use TCP to connect to a port on a HOST and send a message to the HTTP server to get it to do actions! How can I  1.) know what port to connect to and 2.) what message would HTTP be listening for to do the task?   
  - What actions? If you just want to read web pages or post to them then something like wget or cURL is better. Call these from Perl if you like. - HTTP is typically served on port 80. If it's not on port 80, you must know in advance which port to look at. - Both the first and the second hits on Google for HTTP tell you what you must send as an HTTP request. However the most accurate source is probably RFC 2616. Or, just install one of many Firefox extensions that let you view HTTP requests and responses as you make them, and you should be able to work out what is going on.   