Thread startup (14 answers)
Opened by Froschpopo at 2006-05-22 14:33

Froschpopo
 2006-05-22 14:33
#30085 #30085
User since
2003-08-15
2653 Artikel
BenutzerIn
[default_avatar]
Zwei Fragen:

in der moduldescription heißt es: add this to startup.pl
anhänglich dieser code:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
   use HTML::Template;
use File::Find;

print STDERR "Pre-loading HTML Templates...\n";
find(
sub {
return unless /\.tmpl$/;
HTML::Template->new(
filename => "$File::Find::dir/$_",
cache => 1,
);
},
'/path/to/templates',
'/another/path/to/templates/'
);

ich habe bisher noch keine startup.pl angelegt. wenn ich obigen code einfach unter startup.pl abspeichere, genügt das? Oder gehören in eine startup.pl noch andere dinge...

2. wie binde ich die startup.pl in den apache bzw mod_perl ein?

View full thread startup