in reply to Re: Reference Question
in thread Reference Question

Actually you create a copy each time with the [], and push a reference to the copy.

In the original code the push was creating a new reference each time - to the same instance.


DWIM is Perl's answer to Gödel