Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
If I am subclassing a module and I don't want some methods of the superclass to be accessible, how do I get rid of them? Can I delete them or should I just redefine them to call die? I don't have Damian's book handy...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to delete a method in a subclass?
by gaal (Parson) on Dec 17, 2004 at 22:47 UTC | |
by ihb (Deacon) on Dec 21, 2004 at 10:49 UTC | |
by gaal (Parson) on Dec 21, 2004 at 12:10 UTC | |
Re: How to delete a method in a subclass?
by kvale (Monsignor) on Dec 17, 2004 at 22:37 UTC | |
Re: How to delete a method in a subclass?
by borisz (Canon) on Dec 17, 2004 at 22:38 UTC | |
Re: How to delete a method in a subclass?
by Arunbear (Prior) on Dec 17, 2004 at 22:45 UTC | |
Re: How to delete a method in a subclass?
by Anonymous Monk on Dec 18, 2004 at 05:25 UTC | |
by Thelonious (Scribe) on Dec 18, 2004 at 12:40 UTC |
Back to
Seekers of Perl Wisdom