in reply to Re^2: Do subroutine variables get destroyed?
in thread Do subroutine variables get destroyed?

... 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:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^4: Do subroutine variables get destroyed?
by GrandFather (Saint) on May 08, 2016 at 21:19 UTC