Welcome to the Monastery | |
PerlMonks |
Re: Overloading Subs in Perlby cjf-II (Monk) |
on Dec 04, 2002 at 06:02 UTC ( [id://217423]=note: print w/replies, xml ) | Need Help?? |
If you want clean function overloading in Perl take a look at Class::Multimethods. There's also the appropriately named overload module, which I have yet to use but looks interesting. Update: Here's an example with Class::Multimethods:
Is this what you're thinking of?
In Section
Meditations
|
|