Actually, it was asked out of laziness ; ) All of these are fairly obvious and I am not sure why I asked . . .
It was asked by another developer who ended up modifying the output in another part of the app (model). I was assuming they wanted to do something like below ( v = $a . $b ) and I was wondering if there was an operator in TT to replace the perl concat '.' From Andy's response it seems that [% z = a _ b _ c %] is the closest thing although the other ways are just as clean. I thank everyone for responding : ) > Do you mean for direct output > [% a; b; c; %] > or are you wanting something like the following? > [%#(this doesn't work) SET v = "blah = " . blah %] > > Is there a case you have where [% SET blah = "$blah$append" %] > doesn't work? > > Are you asking something else? > > --mark > > > -----Original Message----- > > From: Stathy G. Touloumis [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, February 26, 2002 2:33 PM > > To: [EMAIL PROTECTED] > > Subject: [Templates] concatenating strings > > > > > > Hi, > > > > Is there a directive for concatenating in TT that overrides what Perl > > provides? > > > > > > _______________________________________________ > > templates mailing list > > [EMAIL PROTECTED] > > http://www.template-toolkit.org/mailman/listinfo/templates > >
