Bor has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I try to intercept nonexistent methods call in some subclass.
Yes, I know about AUTOLOAD,
but (for methods) it try to call parent::method first, then UNIVERSAL::method and only then ::AUTOLOAD.
But I need call (something like) ::AUTOLOAD at first.
Because I want to know what methods subclass try to call from parent.
Give me some advice about it please.
I try to intercept nonexistent methods call in some subclass.
Yes, I know about AUTOLOAD,
but (for methods) it try to call parent::method first, then UNIVERSAL::method and only then ::AUTOLOAD.
But I need call (something like) ::AUTOLOAD at first.
Because I want to know what methods subclass try to call from parent.
Give me some advice about it please.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: intercept nonexistent methods call
by Corion (Patriarch) on Aug 04, 2011 at 08:31 UTC | |
by Bor (Beadle) on Aug 04, 2011 at 10:24 UTC | |
by Bor (Beadle) on Aug 04, 2011 at 11:24 UTC |
Back to
Seekers of Perl Wisdom