LIST_OPS has:

  'push'    => sub { my $list = shift; push(@$list, shift); return '' },

How about this instead?

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


    foo.push( 'one', 'two', 'three' );



Any way to do anonymous join? ;)

    ['one', 'two', 'three'].join('+');



-- 
Bill Moseley
[EMAIL PROTECTED]


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

Reply via email to