There, $x has a refcount of 2 (from $x and @array), whereas $y has a refcount of only 1.$x = \@array; $y = [];
In reply to Re^3: how do $x = \12 differ from $$y = 12 ?
by japhy
in thread how do $x = \12 differ from $$y = 12 ?
by borisz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |