
Zippy
New User
Aug 7, 2002, 1:28 AM
Post #1 of 4
(292 views)
|
|
Reading HTML from a file with Perl
|
Can't Post
|
|
Im attempting to write some CGI that will (obviously) output some HTML to the screen. At the top and the bottom of this output, I want my company's header and footer pages that are included on all pages. I've tried to get these included in a couple of different ways: 1) open(HEADER,"header.htm"); while(<HEADER>) { print $_ } 2) print <<END; <!--#include virtual="header.htm"--> END I can't get any of the HTML in the file outputted. If you can see whats going wrong, ill be very glad of some assistance :) Cheers.
|