$foo = \$bar; print $$foo; $foo = \@bar; print for @ref; $foo = \%bar; print for sort keys %$bar;