From ffc8334bc0e4a4185afa77e4ad531622bbea7719 Mon Sep 17 00:00:00 2001 From: vitalif Date: Sun, 14 Feb 2010 22:46:14 +0000 Subject: [PATCH] fix map() --- VMX/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMX/Template.pm b/VMX/Template.pm index 78b9286..72ff328 100644 --- a/VMX/Template.pm +++ b/VMX/Template.pm @@ -713,7 +713,7 @@ sub function_map $f = "function_$f"; $self->can($f) || return undef; $f = $self->$f('$_'); - return fearr($f, $self, @_); + return fearr("map{$f}", $self, @_); } # подмассив