in reply to Re: Embedding: load_module(), stack frames and Carp
in thread Embedding: load_module(), stack frames and Carp
Expectations aside, I would like to affect the same thing that Carp would normally do. The module is being used both from C and from Perl, so the solution must be general. Maybe I could subclass Carp so that it will report differently in the case of no call-stack (*now* maybe I'm answering my own question :^).
The whole thing with passing perl_parse() "/dev/null" feels less than clean as well. How is this normally handled?
Whatever I do, I was hoping to follow convention -- if there is any -- and that's why I'm laying this out here. What *do* folks do when they load_module() code that contains Carp?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Embedding: load_module(), stack frames and Carp
by ruzam (Curate) on May 26, 2006 at 17:46 UTC |