From: Brian Candler Date: 2003-03-28T17:58:32+09:00 Subject: Re: Newbie question:Does Ruby have the structure of hash's array like Perl does? On Fri, Mar 28, 2003 at 08:49:57AM +0000, Brian Candler wrote: > $ ruby -e 'a=["jim","bob"]; $,="-"; puts a.join' > jim-bob A closer example to the Perl would use string interpolation in Ruby: $ ruby -e 'a=["jim","bob"]; $,="-"; puts "hello #{a}"' hello jim-bob