in reply to [SOLVED] How to get text from site?
use encoding qw(UTF-8);
use HTML::Strip qw();
use LWP::Simple qw(get);
my $url = 'http://example.com';
my $hs = HTML::Strip->new();
my $clean_text = $hs->parse(get($url));
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (338 votes). Check out past polls.