package Config.pm; use strict; ########################### # user options # ########################### our $database = 'data/site.db'; our $tmplfile = 'templates/index.html'; #### use strict; my $database = $Config::database; my $tmplfile = $Config::tmplfile; ... print STDERR "FOOBAR $Config::database\n"; my $template = HTML::Template->new(filename => $tmplfile, die_on_bad_params => 0); #### FOOBAR [Sun Sep 6 05:30:35 2009] [error] PerlRun: `HTML::Template->new() called with odd number of option pa rameters - should be of the form option => value at /blogapp/index.cgi line 29\n'