my @array = qw(a b c d); # create an array print $array[2]; # prints 'c' my $arrayref = \@array; # create a reference to the array print $arrayref->[2]; # prints 'c'. The arrow is required when # getting an element of an array or hash # pointed to by a reference my @newarray = @{$arrayref}; # dereference $arrayref to get at the # array it points to, and # copy it to @newarray print $newarray[2]; # prints 'c'