in reply to Problem with a hash of hashes
Maybe I'm way off base here, but it seems to me that you're passing a reference to a full array in the second case and an empty anonymous array (an actual array, not a reference to one) in the first case. So in the first case, @$keywords would stringify the empty array, then make an array out of that empty string???