> I just tried this and thought it might be nice if it worked
> in some future version of TT.  I wouldn't be surprised if it
> already does ..?
>
> $ tpage.bsb
> [% [].merge([1,2],[3,4]) %]

I believe it is planned to.  It currently works in Template::Alloy which means 
it should work with Template::Parser::CET as well.

Paul

[EMAIL PROTECTED]:~/perl/CGI-Ex$ perl -e '
use Template::Alloy;
Template::Alloy->new->process(\q{
[% DUMP [].merge([1,2],[3,4]) %]
})'

DUMP: File "input text" line 1
    [].merge([1,2],[3,4]) = [
          '1',
          '2',
          '3',
          '4'
        ];

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

Reply via email to