princepawn has asked for the wisdom of the Perl Monks concerning the following question:
$x is a reference to an anonymous hash. $z is a reference to a hash.%hash = ( 1 => 2 ); $x = { x => 'y' } $z = \%hash;
Can we parallel this with lists/arrays in some way? How can we do the following?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: anonymous hash versus hash reference and their parallels in arrays
by davorg (Chancellor) on Aug 21, 2000 at 17:15 UTC | |
|
RE (tilly) 1: anonymous hash versus hash reference and their parallels in arrays
by tilly (Archbishop) on Aug 21, 2000 at 17:55 UTC |