Просмотр исходного кода

Update so it reflects changes in Pisg::HTMLGenerator

Morten Brix Pedersen 25 лет назад
Родитель
Сommit
78ec325a6e
1 измененных файлов с 8 добавлено и 2 удалено
  1. 8 2
      modules/Pisg.pm

+ 8 - 2
modules/Pisg.pm

@@ -1,6 +1,6 @@
 package Pisg;
 
-# POD for this module is found at the end of the file.
+# Documentation(POD) for this module is found at the end of the file.
 
 # Copyright (C) 2001  <Morten Brix Pedersen> - morten@wtf.dk
 #
@@ -401,7 +401,13 @@ _END
         my $generator;
         eval <<_END;
 use Pisg::HTMLGenerator;
-\$generator = new Pisg::HTMLGenerator(\$self->{cfg}, \$self->{debug}, \$stats, \$self->{users}, \$self->{tmps});
+\$generator = new Pisg::HTMLGenerator(
+    cfg => \$self->{cfg},
+    debug => \$self->{debug},
+    stats => \$stats,
+    users => \$self->{users},
+    tmps => \$self->{tmps}
+);
 _END
 
         if ($@) {