Thread Frage zu HTML::Template::Compiled: <%IF foo%><%IF bar%>bla<%/IF%><%/IF%> (106 answers)
Opened by steffenw at 2006-12-15 15:33

bloonix
 2006-12-29 18:09
#28716 #28716
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
Also wenn es sich nur für Testphasen handelt... könnte ich für H:T
folgendes vorschlagen:

Code: (dl )
1
2
3
4
5
6
7
8
9
my @unset;

foreach my $p (keys %{$tmpl->{param_map}}) {
  push @unset, $p
     unless defined ${$tmpl->{param_map}->{$p}};
}

# nicht gesetzte Parameter
die Dumper(\@unset);


Aber für H:T:C wüßte ich da nichts. Hier geht auch wohl eher um H:T:C
als um H:T.\n\n

<!--EDIT|opi|1167408900-->
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread Frage zu HTML::Template::Compiled: <%IF foo%><%IF bar%>bla<%/IF%><%/IF%>