http://www.perlmonks.org?node_id=339404


in reply to Re^5: It's a dog, but what kind? (polymorphism , in Perl OO) (!abstract)
in thread It's a dog, but what kind? (polymorphism , in Perl OO)

The alternative is that if you want a copy or clone operation, they should be seperate methods from the constructor.

----
: () { :|:& };:

Note: All code is untested, unless otherwise stated