摘要:
网上找了n多资料,感觉还是HTML::TreeBuilder最好用了,研究了半天HTML::TableExtract也没研究明白。my $root = HTML::TreeBuilder->new;binmode HM, "utf8"; #中文乱码解决$root->parse_file(\*HM);my $body = $root->find_by_tag_name('body'); #找到body节点my $table = $body->find_by_attribute('class','bglbk1 阅读全文