in reply to It's a dog, but what kind? (polymorphism , in Perl OO)
See Why ref($proto) should be avoided and ref($proto) - just say no!, please. And read my column that hits it head on when the publisher's embargo is lifted. (This is for future reference.)my $class=ref($proto)||$proto;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In Section
Tutorials