Graciliano M. P. writes: > Will be nice to can write this directly on Perl6: > > int the_matrix[10][10] ;
Or rather: my int @matrix is dim(10,10); Perl 6 has been planning support for such "naive data structures" for a long time. I'm not sure about hashes. They have enough internal structure that they're going to be pretty big no matter what the return type is declared to be. Problems like this are what the CPAN is adept at solving anyway. Just find a module that does it. Luke