- or download this
open (FILE," $htmlfile") || die "Cannot open HTML file for parsing!: $
+!\n";
while(<FILE>) {
$content="$content$_\n";
}
close(FILE);
- or download this
while(<FILE>) {
$content .= "$_\n";
}
- or download this
{
local $/; # undefs $/ for this block of code only
...
close(FILE);
}