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