in reply to Re: Complex Data Structures in Object Creation
in thread Complex Data Structures in Object Creation
What is the scoping of $self in your example? What does bless return? At the end of the subroutine, how many references are there to the anonymous hash?
It's still an anonymous hash even if it has a named scalar as a referent.
|
|---|