in reply to Re: array of arrays to hash
in thread array of arrays to hash

This has the advantage, IMHO, that it produces the same result as the OPed code in the case that the array or any sub-array(s) are empty.