heywait86 has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use Net::Telnet (); $server = "xxxx.xxxxxxx.xxx"; $cmd = "GET / HTTP/1.1\n\n"; $t = new Net::Telnet ("Timeout" => 10, "Port" => 81 "Prompt" => ''); $t->open($server); @lines = $t->cmd($cmd); print @lines;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: http get request help
by merlyn (Sage) on Apr 29, 2010 at 02:48 UTC | |
|
Re: http get request help
by pemungkah (Priest) on Apr 29, 2010 at 02:51 UTC |