"Bad file descriptor" while parameter substituting

Petrov Dmithriy <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
Hi, all! 
I gets subj error while substitute parameters for simple template.
$tmpl->param({'NEWS' => [{'created' => '2005-10-15', 'text' => 
'sdadsdsdsdw1re32fqr'}]});

Template is:
<table>
<TMPL_LOOP name="NEWS"><tr>
    <td>
        <b><TMPL_VAR name="created"></b><br>
        <pre><TMPL_VAR name="text"></pre>
    </td>
</tr></TMPL_LOOP>
</table>

Can anybody help me?


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.