What happens when you return a reference to a private variable?

Q

What happens when you return a reference to a private variable?

✍: Guest

A

Perl keeps track of your variables, whether dynamic or otherwise, and doesn't free things before you're done using them.

2013-08-27, 1769👍, 0💬