From: "Mark J. Reed" Date: 2003-12-06T03:12:03+09:00 Subject: Re: Dumb question to which I ought to know the answer by now On Sat, Dec 06, 2003 at 01:10:42AM +0900, David A. Black wrote: > hash[]=(1,2,3,4,5,6) > > doesn't fit the two-arg format, and has no unambiguous dividing > line (unless you decide that the key and value lists have to be of the > same length, which I actually think would be reasonable, though as > Mark says not identical to the Perl idiom [which I don't mind :-) ]). I certainly don't mind diverging from Perl; there's a reason I swtiched from Perl to Ruby for my daily scripting tasks, after all. :) But it is occasionaly convenient to be able to use a longer key array (which sets the unmatched keys to undef/nil) or a longer value array (in which case unmatched values are ignored). -Mark