perrin has asked for the wisdom of the Perl Monks concerning the following question:
There must be a way around this using some of the stuff that stacktraces are done with in Carp, right? Anyone have something handy?$foo->SUPER::bar(@_); # <-- errors give this line number
UPDATE: All good suggestions. As it turns out, my first idea (using goto) actually worked, but I couldn't tell. The real problem was a different class turning off $dbh->{RaiseError} so that these were really warnings rather than exceptions, and thus not being caught by things that should have caught them. Sigh.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: manipulating call stack
by Joost (Canon) on Nov 07, 2007 at 00:05 UTC | |
by perrin (Chancellor) on Nov 07, 2007 at 04:21 UTC | |
by Joost (Canon) on Nov 07, 2007 at 12:19 UTC | |
|
Re: manipulating call stack
by tilly (Archbishop) on Nov 07, 2007 at 02:35 UTC | |
|
Re: manipulating call stack
by xdg (Monsignor) on Nov 07, 2007 at 05:26 UTC |