Help for this page

Select Code to Download


  1. or download this
      bless { some_scalar        => "blah",
              another_scalar     => "blah",
              some_array         => [],
              an_array_of_arrays => [[1,2,3]["a","b","c"]],
             },$class
    
  2. or download this
        $b = $object->{an_array_of_arrays}->[1][1]; 
        # $b has "b"
    
  3. or download this
    # old
    an_array_of_arrays => $ref_to_array1[$ref_to_array2],
    
    # new
    an_array_of_arrays => [$ref_to_array1,$ref_to_array2],