Hi -- On Mon, 31 Jan 2005, Florian Frank wrote: > David A. Black wrote: > >> On Mon, 31 Jan 2005, Aredridel wrote: >> Indeed. And the realization that Ruby's interpolation goes beyond >> variables, and that the "extra" symbols aren't extra, is one of the >> traditional rites of passage :-) > > > You can do that in Perl, too: > > print "1 + 1 = @{[1 + 1]}\n" > 1 + 1 = 2 The usual initial criticism of "#{x}" is that the brackets are "extra" -- but then when it turns out that that's all you need for arbitrary amounts of code, they suddenly seem less "extra" than what you'd need in Perl to do anything similar :-) David -- David A. Black dblack / wobblini.net