I showed you a good approach how you can inline your HTML into your program and eliminate some more moving parts from it. Why did you ignore that?
Is the problem in reading the original HTML file? Does the program with the HTML inlined as I showed behave differently?
Is all of the HTML necessary or does a smaller part suffice?
Does reading the include file work? How does it fail?
I note that you reverted the interpolation of $display_file when you output your error message:
return '<!-- $display_file not found to include -->';
Why did you remove that interpolation?
When I inline your HTML with the program I posted, the relevant output I get is:
<TABLE WIDTH=100 BORDER=0 CELLSPACING=0 CELLPADDING=0> <!--<!-- /var/www/html/xx/xxx/somefolder/cc.html not found to incl +ude --> --> </TABLE>
Which is what I expect. What is the HTML source output you get on your machine?
</c>In reply to Re^11: displaying html file in the browser using perl
by Corion
in thread displaying html file in the browser using perl
by tsdesai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |