Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: perlを使用してマルチテーブルhtmlファイルから特定のテーブルを抽出します
マルチテーブルhtmlファイルの各テーブルを新しいテキストファイルに抽出する必要があります。例を使用して、perlでこれを行う方法を教えてください。
HTML::TableExtract を使用していますね。depthコンストラクターとcount引数の値を指定して、抽出するテーブルを指定できます。
depth
count
# The second top-level table. my $te = HTML::TableExtract->new( depth => 0, count => 2 );