I wrote th following program to see feature called circular reference in perl.
my $foo = 100;
$foo = \$foo;
print "Value of foo is : ", $$foo, " " , $foo;
the output was:
Value of foo is : REF(0x21b632c) REF(0x21b632c)
but i was wondering where the value 100 gone can any one help me.or is it a memory leak?