> Hi everybody. I think I've found a bug in Template/Base.pm 
> constructor (TT version 2.15). You have to call "map" (line 
> 68) in list context explicitly (from perldoc -f map : "In 
> scalar context, returns the total number of elements so 
> generated"). Patch in attach.

Sorry, compatriot, but that's all right with Template::Base. The "map" there
is already in the list context, because is placed inside hash braces. And,
anyhow, the whole Template Toolkit won't work, if it would be in scalar
context ;)


-- 
Sergey Martynoff


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to