in reply to Word frequency from URL Doc
@words = get(param('URL'));
LWP::Simple::get returns a scalar, not an array. You could convert the scalar into an array with eg. split.