in reply to Re^4: Introducing Class::InsideOut
in thread Introducing Class::InsideOut
Why? The common new can support it:
sub new { my $class = shift; bless @_ ? shift : \ my $x, $class; }
That way you can use an arbitrary foreign object as the donator of the new id.
Anno
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Introducing Class::InsideOut
by adrianh (Chancellor) on Feb 15, 2006 at 10:42 UTC | |
by xdg (Monsignor) on Feb 15, 2006 at 12:20 UTC | |
by adrianh (Chancellor) on Feb 16, 2006 at 12:35 UTC | |
by Anno (Deacon) on Feb 17, 2006 at 12:15 UTC | |
by adrianh (Chancellor) on Feb 19, 2006 at 09:54 UTC | |
|