1. Try goto &SuperClass::bar; instead - but make sure @_ includes the object/class reference as the first argument. See goto
2. Do eval { $self->SUPER::foo(@_) }; carp $@ if $@
update: it occurs to me that whole idea of carp & croak is wrong and that the only really useful thing to do is to print a complete stack trace (like confess does) - i.e. use Carp 'verbose' in your module.
In reply to Re: manipulating call stack
by Joost
in thread manipulating call stack
by perrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |