From: Michael Campbell Date: 2003-04-28T22:45:41+09:00 Subject: Re: 'relaxed' array syntax --- KONTRA Gergely wrote: > Hi! > > There's a feature in perl, which I like (pls don't flood :) > You can place an extra comma after the last element, so eg. in ruby > a= [1,2,3,] wouldn't generate error message. > Is it possible? > It can be handy, if the elements are long, and you must not worry > about > it is the last element, or not. With all due respect, a 10 second test would have told you the answer. Shorter than composing the question to the list! irb(main):001:0> a = [1,2,3,] [1, 2, 3] __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com