This will print 2, as expected.use B 'svref_2object'; my $objref = {}; my $another = $objref; print svref_2object($objref)->REFCNT;
In reply to Re^2: Reference Count of a Non-Scalar
by Anonymous Monk
in thread Reference Count of a Non-Scalar
by bbfu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |