in reply to Syntax for preventing repeat object initializations
Hrm. Are you sure, nysus, that this code helps prevent multiple inheritance? As I see it, the __PACKAGE__ key (barring the minor bug) would only prevent the object from being re-initialized in the same package/class, not by other classes. (And that's even assuming all other classes that might bless the object follow this convention!)
Please enlighten me if I am missing something, though! :-)
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (bbfu) Re: Syntax for preventing repeat object initializations
by nysus (Parson) on Jul 17, 2001 at 05:32 UTC |