I want to extract the HTML code of a TWiki (who's URL i have). What is the best possible way of doing that?
Additionally, once i extract the HTML code i need to out it in a site hosted on Google Sites. Is that possible?
A very simple way to get a HTML page is the LWP::Simple module. If you have to do a more complex navigation flow, then use WWW::Mechanize. Then, if you need to parse the HTML code, the @brian solution is good.
Sounds like you need the CPAN HTML::Parser module.