On Thu, 19 Dec 2013 12:27:09 -0600
Rick T wrote:
> I wanted to make the program more portable, which means changing the
> name of the server. My idea was to put the following
>
> my $server = “newserver”
>
> at the beginning of the code, then have the later lines of code use
> this string
The following three lines are from a program that works fine for me.
# Choose template file
use constant TMPL_FILE =>
"/big/dom/xoldserver/www/templates/open_courses3.html";
my $tmpl = new HTML::Template( filename => TMPL_FILE );
I wanted to make the program more portabl