Thanks for the tips even though they mostly went over my head :-)
I got "require" to work, at least it seems like it is.
The books I looked in recommended "use" over "require" for various reasons. The most important one to me is that "require" checks at run time and "use" checks at compile time. "Use" would seem preferrable for that reason alone.
When I try to use "use"... it complains about the subroutines and variables not being defined. I will have to see how to fix that.
Also I am worried that it will have problems compiling because I will probably want to require/use from a variable. (Right now I just did one test page, without using a variable, to see if it would work.)
Not related to the problem above... but server friendliness got mentioned here so I will ask it here...
My regular HTML files are shtml files... and I am doing this on each of them...
Code Sample:
<!--#include file="footer.htm"-->
|
|
This will load a file with contact information, etc. onto each of my pages.
Is this ok to do? Would it be better to do it a different way?
Is there a list of server dos and don'ts?
Thanks :-)
Brenda