... if the reference variable is pointed to a new item, then the old item to which it pointed no longer has any references to it and it will be destroyed.
An unreferenced referent (i.e., one having a ref count of 0) will be marked for garbage collection and will eventually be destroyed.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Do subroutine variables get destroyed?
by AnomalousMonk
in thread Do subroutine variables get destroyed?
by bt101
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |