Re: What kind of structure to choice

2005-11-03 Thread Shawn Corey
Gilles wrote: Hi, I would like to create a matrix 9x9 where the elements are list (array). (like a cube) These lists will decrease during processing and will normally contain one element, so to know if a list is definitely treated I need a flag. So 2 solutions seems to be good, but which one

Re: What kind of structure to choice

2005-11-03 Thread Jeff 'japhy' Pinyan
On Nov 3, Gilles said: These lists will decrease during processing and will normally contain one element, so to know if a list is definitely treated I need a flag. Why? You can find the size of an array like so: $size = @array; In the case of an array reference, it's merely $size = @{

What kind of structure to choice

2005-11-03 Thread Gilles
Hi, I would like to create a matrix 9x9 where the elements are list (array). (like a cube) These lists will decrease during processing and will normally contain one element, so to know if a list is definitely treated I need a flag. So 2 solutions seems to be good, but which one do you think wil