Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Perl's Template Toolkit has had this feature since at least 2001 (and I remember it being available before that but my googlefu is failing me right now.)

cf http://www.perl.com/pub/2001/01/tt2.html

> If these tags are replaced with [%- -%] then the preceding or following linefeed is suppressed.



Nice, thanks for the history lesson. Now I wonder whether Armin Ronacher got it from there or independently reinvented it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: