in reply to problem using Net::Telnet to GET a page

I'm using the net::telnet to telnet to port 80 on a web server. I'm looking to do a "GET /" once i've connected.

I wonder if your life wouldn't be a bit simpler if you were to use LWP::Simple instead of Net::Telnet.

use LWP::Simple; print get("http://www.whatever.com/");