I understand your desire to avoid autovivification. I wish there was a Perl pragma to disable it so I could detect certain types of programming mistakes. Since we lack such, my next suggestion is of little practical value.
However, you can initialize a list of reference like so: my @data= map( {}, 1..$rows ); (Just a tiny tidbit.)
- tye (but my friends call me "Tye")In reply to (tye)Re: Why is my data structure wrong?
by tye
in thread Why is my data structure wrong?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |