in reply to Re^2: Hash assignment "odd" ness
in thread Hash assignment "odd" ness
print Dumper(%hash); # Dumps the result of evaluating the hash. Meh. print Dumper(\%hash); # Dumps the ref and the referenced hash. Good.
On the other hand, $po is a scalar. No need to pass a reference to it.
print Dumper(\$po); # Why?? print Dumper($po); # Good.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Hash assignment "odd" ness
by phigment (Initiate) on Jun 30, 2010 at 07:23 UTC |