]> git.xolatile.top Git - emil-3chen.org.git/commitdiff
--
authorEmil Williams <emilemilemil@cock.li>
Tue, 6 May 2025 19:12:59 +0000 (13:12 -0600)
committerEmil Williams <emilemilemil@cock.li>
Tue, 6 May 2025 19:12:59 +0000 (13:12 -0600)
perl/Triple.pm

index 413f4fec437be99d96cba0fd33e5061e1fda9431..bb473cda20243c7737acf531b31794dfc29ed608 100644 (file)
@@ -75,10 +75,10 @@ sub init {
         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;
@@ -86,6 +86,7 @@ sub init {
             # syslog("info", "Marking Static '$path'");
             #         $template->process($datum[1], $vars, \$_) or syslog("info", $template->error());
             #         $static{$path} = $_;
+        }
     }
 
     my ($sitename, $version) = preinit();