in reply to Re: incremental additions to multidimensional arrays
in thread incremental additions to multidimensional arrays
to either create a array or grab the existing one before the recursive call.$array->[ ... ] ||= [];
and i have a deeper appreciation for the use of {} and [] to group elements together :
thank you very much! i glad i took the time to re-state my question.$array->[$hash-> { $keys->[$dim] } ] $array->[ $keys->[$dim] ]
BTW, before my repost, i read "I know what I mean. Why don't you?" and now to have the author of that article respond to this question is astonishing.
|
|---|