From: David Alan Black Date: 2001-10-29T11:04:44+09:00 Subject: [ruby-talk:23704] Re: Simple templating system (cool) Hello -- On Mon, 29 Oct 2001, Phil Tomson wrote: [...] > I haven't tested this exhaustively yet, but so far I think this will work > pretty nicely for what I need to do. I had implemented the same thing in > Perl a couple of years ago and it took about 3-4 times as much code to do > the same thing. Some people coming from the Perl side complain about > having to enclose variables in strings with '#{..}' (I did at first too), > but this actually allowed me to implement this templating class so > concisely (let Ruby do all of the work). Yes, I think one of the Perl-to-Ruby rites of passage is the moment of realizing that you can put arbitrary expressions between those curly braces and that they are therefore not, as some have called them, "extra" characters :-) David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav