From: Gennady Date: 2003-06-10T09:03:20+09:00 Subject: Re: [RCR] join block > > I have such pieces of code everywhere in my code in order to debug. > def debug > $log.puts "XXX "+data.join("\nXXX ") > end In this particular case why your $log (whatever it is) cannot handle adding the prefix to every output line? In the very least it will keep Array#join from complication ;-). I understand, that this is only an example of why you might need it. However, maybe it is possible to come up with other (better?) solutions for other usages as well? Gennady