unlinker has asked for the wisdom of the Perl Monks concerning the following question:
O Wise and Kind Monks, may the light of your wisdom shine on me.
I recently saw code that over-rode a method in a package by its own version using typeglobs. If sub-classing is not an option, what is the correct, safe and canonical way to do this?
Gratitude
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: What is the correct way to override a Package Method
by kyle (Abbot) on Oct 02, 2007 at 16:08 UTC | |
Re: What is the correct way to override a Package Method
by tinita (Parson) on Oct 02, 2007 at 20:39 UTC | |
by unlinker (Monk) on Oct 03, 2007 at 14:53 UTC | |
by tinita (Parson) on Oct 03, 2007 at 20:20 UTC |
Back to
Seekers of Perl Wisdom