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
In reply to Re^5: Introducing Class::InsideOut
by Anno
in thread Introducing Class::InsideOut
by xdg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |