in reply to Re: Re: Re: Multi dimensional arrays
in thread Multi dimensional arrays
Of course, it is a good thing to explain what $array[2]->[0] does, e.g. by pointing to tye's tutorial, exactly as you have done.
The last shortcut to arrive at $array[2][0] is not necessary but why not mention it while we are at the topic. This abbreviation was introduced so that it looks like we are straightforwardly accessing a 2D array - which on purpose hides the 'gory details'. Once you have understood the underlying concepts, you don't have to deal with them explicitly any more ... that's Perl.
-- Hofmator
|
|---|