<?xml version="1.0" encoding="windows-1252"?>
<node id="837430" title="http get request help" created="2010-04-28 22:27:51" updated="2010-04-28 22:27:51">
<type id="115">
perlquestion</type>
<author id="837428">
heywait86</author>
<data>
<field name="doctext">
Hi, 
I don't know if this is even possible, but I'm trying to do a html get request with perl. I've tried using several modules, but have had no success, my current code looks like this, I'm sure I'm doing it all wrong but this is what I have based on googling. 
&lt;code&gt;
#!/usr/bin/perl
    use Net::Telnet ();
  	
    	$server = "xxxx.xxxxxxx.xxx";
	$cmd = "GET / HTTP/1.1\n\n";

    $t = new Net::Telnet ("Timeout" =&gt; 10, "Port" =&gt; 81
			  "Prompt" =&gt; '');
    $t-&gt;open($server);
   
   @lines = $t-&gt;cmd($cmd);
   print @lines;
&lt;/code&gt;</field>
</data>
</node>
