Ranger Rick has asked for the wisdom of the Perl Monks concerning the following question:
Hello, monks,
I've inherited (hah) some very large mod_perl code that uses inheritance heavily. I've run into a bug with a subroutine that performs form validation which calls $self->SUPER::validate(). i.e., something like:
sub validate { my $self = shift; # do validation return $self->SUPER::validate(@_); }
All of the validation that occurs inside this subroutine works, and is fine and dandy, but the "return $self->SUPER::validate(@_);" part returns false when it shouldn't. I can't for the life of me, however, find where that other validate is being called. Short of changing the tens (hundreds?) of other related @ISA's that have a validate subroutine, is there an easy way to trace this inside mod_perl?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: tracing SUPER
by ysth (Canon) on Jul 28, 2004 at 22:36 UTC | |
|
Re: tracing SUPER
by lachoy (Parson) on Jul 28, 2004 at 20:26 UTC | |
|
Re: tracing SUPER
by fglock (Vicar) on Jul 28, 2004 at 17:55 UTC | |
by gaal (Parson) on Jul 28, 2004 at 18:08 UTC | |
by fglock (Vicar) on Jul 28, 2004 at 18:19 UTC | |
by gaal (Parson) on Jul 28, 2004 at 18:34 UTC | |
by Ranger Rick (Novice) on Jul 28, 2004 at 18:43 UTC | |
by gaal (Parson) on Jul 28, 2004 at 18:52 UTC |