Hard References are more powerful than Typeglobs (symbolic references) and in some cases supercede them |
$scalarref = \$foo; # is pointer to a scalar |
$getit = $$scalarref; # is same as $getit = $foo |
This is called dereferencing or going from pointer(reference) to value |
$arrayref = \@array; |
$hashref = \%hash;
|