in reply to Re^2: unreachable memory with a non-zero reference count
in thread unreachable memory with a non-zero reference count
But that way you lose the old value. I'm not sure that that's really what you want:
#!perl -w use strict; use Data::Dumper; my $foo = 'bar'; $foo = \$foo; print $foo; print $$foo; print Dumper $foo; __END__ REF(0x12da554) REF(0x12da554) $VAR1 = \$VAR1;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: unreachable memory with a non-zero reference count
by Pickwick (Beadle) on Jun 21, 2010 at 13:45 UTC |