in reply to Re: passing reference to subroutine
in thread passing reference to subroutine

undef @struct; (better written as @struct = (); btw)

Not if the goal is to free up space rather than just empty it for reuse:

@a = 1..1e6;; print total_size \@a;; 32000176 @a = ();; print total_size \@a;; 8000176 undef @a;; print total_size \@a;; 176

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.