|
|
| P is for Practical | |
| PerlMonks |
Re^3: Anonymous Hash in Constructorby sundialsvc4 (Monsignor) |
| on Oct 19, 2012 at 13:49 UTC ( #999927=note: print w/ replies, xml ) | Need Help?? |
|
Which, of course, would not make sense to do. The constructor’s purpose is to return a new unique instance of a blessed object as its return value. So, the only “debate” here is whether, within the body of that constructor, the hash that is to be returned is specified anonymously or not. And, it makes utterly no difference one way or the other to Perl.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||