From: Mr Bubb Date: 2010-02-05T11:46:08+09:00 Subject: Re: Can Ruby Do This? Marnen Laibow-Koser wrote: > > If you're so sure of that, why are you asking for help? There may be no > better way in Perl, but Ruby is not Perl. :) Is there a hidden camera, or something? It's not legit to say "I'm a ruby newbie, is there a way to do x in ruby?" If I had said, hey perl has one line comments, how do you do one line comments in ruby, would you answer, well, why do you need one line comments? Jeez. > >> You must not need to quickly create >> data structures from flat files, I guess. > > Instead of assuming what my needs are, let's focus on yours. Nested > hashes *may* be the best solution in Ruby, but if you provide more > information about your use case, we can give you better help. This is like the old Bostonian joke: Question: "Can you tell me how to get to Roxbury?" Answer: "Whaddaya wanna go there for?" I guess what I'm saying is, thanks anyway. -- Posted via http://www.ruby-forum.com/.