Randy W. Sims wrote:
> > Question: what am I doing wrong here?
> >
>
> For multidimensional arrays, the preferred syntax is:
>
> my @a;
> $a[$x][$y][$z] = 'value';
>
> see perldoc perllol
Thanks. Works as expected. Sorry for asking something I should have
looked up. Another programming languag
Niek Oosterlaak wrote:
>
> Every now and again I like to program for fun. In this case it is a
> simulation. The basis is a grid that holds things like altitude,
> pieces and things like that. To hold all data in a way I can remember
> everything easily, I chose to put all in a multi dimensional a
Niek Oosterlaak wrote:
Every now and again I like to program for fun. In this case it is a
simulation. The basis is a grid that holds things like altitude,
pieces and things like that. To hold all data in a way I can remember
everything easily, I chose to put all in a multi dimensional array.
I
Every now and again I like to program for fun. In this case it is a
simulation. The basis is a grid that holds things like altitude,
pieces and things like that. To hold all data in a way I can remember
everything easily, I chose to put all in a multi dimensional array.
If there is a better way