Skip to the content
Documentation

Array access syntax / Variable types / The template langu...

No ratings yet

Array access syntax

This does not tell me how to access an element in an array/hash. What is the equivalent syntax for $my_array[1], $my_array[1][2], $my_array['key']
My guess is $my_array.1, $my_array.1.2, $my_array.key
  • Re: Array access syntax

    Turns out the answer is in the next chapter.

Anonymous User (07/05/2009 12:16 pm)

Anonymous User (07/05/2009 12:16 pm)


Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: Array access syntax

    Alex Farran ·

    Turns out the answer is in the next chapter.

Comments

Add a comment

Comments are read by a moderator before they appear.