in reply to Re^3: Better Inside-Out Objects :)
in thread Better Inside-Out Objects :)
What happens when someone tries to throw one of these objects at Data::Dumper et al?
That's a problem with Inside-Out Objects in general.
What happens when someone tries to create an object on the fly by loading data into a hash reference manually and then blessing it into an object?
They ought to be shot. Constructors (incl cloning and deserializing constructors) exist for a reason. You can't expect to clone an object by copying it's bytes or it's fields.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Better Inside-Out Objects :)
by xdg (Monsignor) on Oct 07, 2006 at 03:25 UTC |