in reply to Re^2: hash question
in thread hash question
you'll get two different addresses:my $hash = {}; do_something( $hash ); print Dumper( $hash ); sub do_something { my $hash = shift; $hash = { a => 'alpha', b => 'beta', }; print Dumper( $hash ); }
Update: actually, this is also only the contents. Best answer so far to your OP is this by AnomalousMonkHASH(0x3c4a4)HASH(0x3c39c)
|
|---|