#! /usr/bin/perl use strict; use warnings; my $file = './pfad/zu/html.datei'; open(R_HTML,"<$file") or die $!; my $content = join("",]+>.*?<\/table>)/; print $erstes_table;