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
moseley hank.org
_______________________________________________
templates mailing list
templates template-toolkit.org
http://lists.template-toolkit.org/mailman/listinfo/t
emplates
|