On Fri, Oct 14, 2005 at 07:58:44PM +0400, Petrov Dmithriy wrote:
>Hi, all!
>I gets subj error while substitute parameters for simple template.
>$tmpl->param({'NEWS' => [{'created' => '2005-10-15', 'text' =>
>'sdadsdsdsdw1re32fqr'}]});
You're passing a hashref to param(). Try:
$tmpl->param('NEWS' => [{'created' => '2005-10-15', 'text' =>
'sdadsdsdsdw1re32fqr'}]);
Roger
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users