in reply to Re^4: Inheritance - calling parent constructor
in thread Inheritance - calling parent constructor
I would leave in the bless. At worst, it's redundant. At best, it fixes something the parent does wrong.
1 And keep peeking. If it's ok now, it may no longer be ok tomorrow after the sysadmin upgraded some packages.
2 Of course, the code of the OP already assumes the parents constructor returns a hashref. So the OP has already sacrificed one the pearls of OO already.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Inheritance - calling parent constructor
by ikegami (Patriarch) on Dec 30, 2009 at 00:51 UTC | |
by JavaFan (Canon) on Dec 30, 2009 at 03:00 UTC | |
by ikegami (Patriarch) on Dec 30, 2009 at 12:48 UTC |