When I do this it works (these are the last 4 lines before the end of a method TWEAK. However, my first attempt had no line #3 and failed because %!columns was empty...
constant @alphi = 'A'..Inf;
1 if ! %!columns {
2 @alphi[0..^@!data.first.elems].map( {%!columns{$_} = $++} );
3 %!columns #<== have to "touch" %!columns to avoid empty hash
4 }
I am cool that the issue is fixed by "touching" the attribute ... but seems like magic ... can anyone explain why?