Array References - Quiz Explanation

The correct answers are indicated below, along with text that explains the correct answers.
 
1. Given this code fragment, answer the questions below:
$fooref = [ 'foo', 'bar', 'baz' ];
$arrayref = [ 'one', 'two', [ 'a', 'b', $fooref ], 'four' ];
How would you get the value 'b' from $arrayref?
Please select the best answer.
  A. arrayref->[2][1]
  B. #arrayref->[1]
  C. $$arrayref[2][1]
  The correct answer is C.
Remembering that array indexes begin with zero, 'b' is the second element (index 1) of the array (reference) in the third element (index 2) of the anonymous array referenced by $arrayref.

2. The $arrayref->[2] is an anonymous array:
Please select the best answer.
  A. true
  B. false
  C Maybe
  The correct answer is A.
The third element (index 2) is another anonymous array. Anonymous arrays are created with the square brackets ([ and ]).

3. What value would this expression return?
$arrayref->[2][2][2]
Please select the best answer.
  A. 'baz'
  B. 'bar'
  C. 'foo'
  The correct answer is A.
The third element of $arrayref is another anonymous array. That anonymous array's third element is a reference to another array. The third element of that array is the string 'baz'.