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 reply to •Re: It's a dog, but what kind? (polymorphism , in Perl OO)
by merlyn
in thread It's a dog, but what kind? (polymorphism , in Perl OO)
by blue_cowdawg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |