But that doesn't help with a longer circular chain; you need to pick the one element of the chain that has an external reference and weaken the preceding element's pointer to it.$self->{next} = $next; weaken($self->{next}) if $self == $next;
In reply to Re^2: Q on $var = \$var;
by ysth
in thread Q on $var = \$var;
by Bastiaan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |