[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mp2] problems with path attribute of HTML::Template


Hi List,

I've observed a problem with mod_perl2 and HTML::Template VERSION: 2.8.
If I create a new template object with
my $template = HTML::Template->new(
      filename => "menu.html",
      path => [
         "/path/to/templates",
         "/also/path/to/templates"
      ]
   );

and restart Apache only the first path is left in the path array and only templates in that directory will be found.

If I start that script without mod_perl2, all items are in the path array and also templates in the second directory will be found.


Could someone help me with that problem.

Greets

Alex


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.