http://www.perlmonks.org?node_id=467937


in reply to Re: How to include header and footer in CGI file ?
in thread How to include header and footer in CGI file ?

Do you mean:

use CGI; use strict; # ... some code open(FILE,'header.htm') and print <FILE>; # ... main program open(FILE,'footer.htm') and print <FILE>; # ... done