in reply to Is there a penalty for namespace use?
As dave_the_m pointed out, putting a copy of $self as an attribute in $self is going to prevent it from being garbage collected. But I have to wonder what the point of doing so is, anyway? The reference to $self is stored in... $self. So to get to $self, you first need to get to... $self. It doesn't make a whole lot of sense. :-)
|
|---|