I can setup a telnet connection in Perl no problems, and have just discovered Curses, and am wondering if I can use the two together to scrape the output from the telnet ses
You probably want something like Expect
use strict; use warnings; use Expect; my $exp = Expect->spawn("telnet google.com 80"); $exp->expect(15, #timeout [ qr/^Escape character.*$/, sub { $exp->send("GET / HTTP/1.0\n\n"); exp_continue; } ] );