On Fri, Dec 20, 2013 at 1:46 AM, Janek Schleicher wrote:
> * if you lookup perldoc use,
> you'll see the use Module is equivalent to
> BEGIN { require Module }
> and the BEGIN blocks are run first of all.
>
And so, as it's really a code block, you can, if you want, define vars there
BEGIN {
Am 19.12.2013 19:27, schrieb Rick T:
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 w
On Thu, 19 Dec 2013 12:27:09 -0600, Rick T wrote:
> 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( filen