I'm currently in the process of templating my entire site to provide a consistent
framework and I would like to have the following template set up:
=====================
== BEGIN 'template.cgi'
#!/usr/bin/perl
< include "use_information.inc" >
HERE IS THE DISPLAY INFORMATION
== END 'template.cgi'
=====================
Where...if the contents of "use_information.inc" were:
use CGI;
use Apache;
then 'template.cgi' would *ACTUALLY* be seen as the following to apache:
=====================
== BEGIN interpreted 'template.cgi'
#!/usr/bin/perl
use CGI;
use Apache;
HERE IS THE DISPLAY INFORMATION
== END 'template.cgi'
=====================
I've tried using eval and require....but I continue to get mixed results and
everything is not considered.
Any thoughts on the matter are greatly appreciated.
thnx,
~j