P is for Practical | |
PerlMonks |
Re: How do I make deterministic constructors?by Perlmage (Acolyte) |
on Sep 18, 2000 at 19:24 UTC ( [id://32963]=note: print w/replies, xml ) | Need Help?? |
The short answer is: you can't. Perl doesn't do multiple multiple dispatch. The long answer is: Use the Class::Multimethods module. As is the case with many of the things that "Perl doesn't do", Damian Conway has made Perl do it.
In Section
Seekers of Perl Wisdom
|
|