in reply to Polymorphism in Perl
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Polymorphism in Perl (interface)
by tye (Sage) on Feb 07, 2011 at 14:37 UTC | |
by SuicideJunkie (Vicar) on Feb 07, 2011 at 22:05 UTC |