Leser: 31
|< 1 2 3 4 5 6 7 ... 21 >| | 210 Einträge, 21 Seiten |
1
2
3
4
5
6
all_htc: 5 wallclock secs ( 4.29 usr + 0.00 sys = 4.29 CPU) @ 1974.59/s (n=8471)
all_htj: 5 wallclock secs ( 4.06 usr + 0.11 sys = 4.17 CPU) @ 2186.57/s (n=9118)
new_htc: 4 wallclock secs ( 4.10 usr + 0.00 sys = 4.10 CPU) @ 11778.05/s (n=48290)
new_htj: 4 wallclock secs ( 3.88 usr + 0.35 sys = 4.23 CPU) @ 8275.65/s (n=35006)
output_htc: 4 wallclock secs ( 4.17 usr + 0.00 sys = 4.17 CPU) @ 22385.37/s (n=93347)
output_htj: 5 wallclock secs ( 4.25 usr + 0.00 sys = 4.25 CPU) @ 3218.35/s (n=13678)
<%/IF>
Quotedas habe ich irgendwie nie kapiert... ein
Code: (dl )1
2
3my %params = $query->Vars;
# testen, ob %params nur erlaubtes zeug enthaelt
$template->param(%params, %otherParams);
taete es ja vermutlich auch, und man haette mehr kontrolle (wobei man sich genau ueberlegen sollte, ob man input ungeprueft als output verwenden sollte)
1
2
3
4
5
6
7
8
9
0.57 Wed Dec 7 15:54:05 CET 2005
- tmpl_comment doesn't output
- tmpl_noparse does, though
- various pod- and test-fixes
0.56 Wed Dec 7 01:46:21 CET 2005
- some include and scalarref issues fixed
- <tmpl_comment>
- <tmpl_switch>, <tmpl_case>
1
2
my $query = new CGI;
my $template = HTML::Template->new(filename => 'template.tmpl', associate => $query);
|< 1 2 3 4 5 6 7 ... 21 >| | 210 Einträge, 21 Seiten |