From: Martin Mares Date: Tue, 5 Oct 2010 17:02:17 +0000 (+0200) Subject: Fixed calling of multi-parameter functions X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bc6f0eb89fe0b02383544d1859ae4baf155ee40e;p=temple.git Fixed calling of multi-parameter functions Thanks to Mosquitoe for the fix. --- diff --git a/UCW/Temple.pm b/UCW/Temple.pm index 6efa090..ff7c4cf 100644 --- a/UCW/Temple.pm +++ b/UCW/Temple.pm @@ -84,7 +84,7 @@ sub eval_func($$) { } # print "Cond stack: @cond\n"; } else { - my $res = eval_if_ok("$f($a)"); + my $res = eval_if_ok("$f $a"); out $res if defined $res; } }