tsdesai has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I am trying to read the contents of html file and display it on the browser. So far, it works as in it will display the contents of the html . But the problem is the html file in turn has the <include file ="hh.html"> which is not displayed. I am not sure how can i display the contents of this included html file . Below is my code so far.
use File::Slurp qw/read_file/; print CGI::header(); my $html =read_file('xx.html'); print $html;
I am banging my head on this.
I would really appreciate any help on this.
Many Thanks,
T
|
|---|