in reply to Array/Hash References? Constructors?
You could use:
You use the appropriate symbol to what type of reference the scalar is holding. So...foreach (sort keys %$hash_ref) { print; }
I would call them dereferencers.$foo = \$bar; print $$foo; $foo = \@bar; print for @ref; $foo = \%bar; print for sort keys %$bar;
Amel - f.k.a. - kel
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Array/Hash References? Constructors?
by simon.proctor (Vicar) on Jul 21, 2001 at 02:34 UTC |