AlbertAguirre
Programmer
This seems so simple but I dont understand it.
I want to print ONE element of a multi dimensional array.
Here are my base arrays:
@aTemp1 = ('albert', 'daniel', 'nathan');
@aTemp2 = ('danielle', 'mylee', 'rob');
Here is my multidimensional array:
@aTest = (@aTemp1, @aTemp2);
I want to print the value: 'daniel' from md array @aTest
How?
This doesnt work: print $aTest[0][1];
I want to print ONE element of a multi dimensional array.
Here are my base arrays:
@aTemp1 = ('albert', 'daniel', 'nathan');
@aTemp2 = ('danielle', 'mylee', 'rob');
Here is my multidimensional array:
@aTest = (@aTemp1, @aTemp2);
I want to print the value: 'daniel' from md array @aTest
How?
This doesnt work: print $aTest[0][1];