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