sub init_static {
my $vars = {
banana => 'sand',
- };
- foreach (my ($path, @datum) = each %page) {
- print Dumper @datum;
+ };
+ foreach my $key (keys %hash) {
+ @set = $hash{$key};
+ print Dumper @set;
+ }
# if ($datum[0] == DYNAMIC_PAGE) {
- # syslog("info", "Marking Dynamic '$path'");
- # next;
+ # syslog("info", "Marking Dynamic '$path'");
+ # next;
# }
# syslog("info", "Marking Static '$path'");
- # $template->process($datum[1], $vars, \$_) or syslog("info", $template->error());
- # $static{$path} = $_;
- }
+ # $template->process($datum[1], $vars, \$_) or syslog("info", $template->error());
+ # $static{$path} = $_;
}
my ($sitename, $version) = preinit();