See overload about overloading.
You get what the OO people call polymorphism by overridng inherited methods in child classes. See perlboot and perltoot for an introduction to OO in Perl.
In reply to Re: Polymorphism in Perl
by moritz
in thread Polymorphism in Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |