the substitution displays the path and not the content of the files
You have to read in the content of the files, e.g.
my $fname_include1 = "../includes/header.html"; my $include1; { open my $fh, "<", $fname_include1 or die "Couldn't open include '$fnam +e_include1': $!"; local $/ = undef; $include1 = <$fh>; }
In reply to Re: Reading in html files help!
by almut
in thread Reading in html files help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |