From: David Corbin Date: 2006-04-24T09:52:06+09:00 Subject: Re: nuby: %w to understand quotes On Sunday 23 April 2006 08:30 pm, Botp wrote: > Justin Collins [mailto:collinsj@seattleu.edu] : > > # In that case, wouldn't it be easier to just do > # > # ["sample", "short sample", "there is quite a number of strings longer > # than this"] > > that's what i'm doing now (instead of escaping). But as much as possible, I > would like to quote only when needed. > But why? %w is intended as a shortcut when everthing is a single word. For anything else, use quotes.