Does that make more sense?foreach $sample_id (@{$groups[$gid]}) { $data[$gid]->{$sample_id} = []; # assign anon array ref to ti +ed hash foreach $element_num ( 0 .. $element_count ) { $element = []; # ... do a bunch of stuff here ... $data[$gid]->{$sample_id}->[$element_num] = $element; } }
In reply to Re: Re: Need help with complex tied data structure
by genecutl
in thread Need help with complex tied data structure
by genecutl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |