... open (FILE,">tmp.html"); print FILE $response->content; $text = `lynx -dump tmp.html`; print $text; ...