Help for this page
$/ = "----- PAGE SEPARATAAAR -----\n"; while (<>) { chomp; # $_ now contains the HTML page }
my $page = ''; while (<>) { ... } $page .= $_; }