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.
In reply to Re: Re: Complex Data Structures in Object Creation
by chromatic
in thread Complex Data Structures in Object Creation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |