Bill Moseley wrote:
>   'push'    => sub { my $list = shift; push(@$list, @_); return '' },

Good idea.  I guess it should have been like that all along.  Thanks.
I've done the same for unshift, too.

> Any way to do anonymous join? ;)
>
>     ['one', 'two', 'three'].join('+');

Not until TT3 :-(

http://template-toolkit.org/london.pm/tt3/literal.html

A


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

Reply via email to