Can't locate object method "pool" via package "Apache2::Filter"... line xx

2016-06-19 Thread Henry Combrinck
Greetings, I'm relatively new to mod_perl, so please forgive the ignorance. I've managed to create an output filter, but I'm having a problem with an input filter. The error I get is as per the subject line. Here's the code: apache config Perlrequire /opt/code/scripts/apache2-perl-startup.pl

Re: Can't locate object method "pool" via package "Apache2::Filter"... line xx

2016-06-19 Thread Henry Combrinck
A further comment: the docs at https://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_pool_ indicate $r->pool should work, but for some reason is not being found. On Mon, Jun 20, 2016 at 1:10 AM, Henry Combrinck wrote: > Greetings, > > I'm relatively new to mod_perl,

Re: Can't locate object method "pool" via package "Apache2::Filter"... line xx

2016-06-20 Thread Henry Combrinck
gt;remove;# optimization to reuse memory } } while ( !$seen_eos ); $bb->destroy; return $data; } On Mon, Jun 20, 2016 at 1:49 AM, Philippe Chiasson wrote: > > > Sent from my iPhone > > On Jun 19, 2016, at 19:10, Henry Combrinck > wrote: > > Gre

Re: Can't locate object method "pool" via package "Apache2::Filter"... line xx

2016-06-20 Thread Henry Combrinck
Another thing worth mentioning is that the process SEGVs after the above error message: ...exit signal Segmentation fault (11) On Mon, Jun 20, 2016 at 11:16 AM, Henry Combrinck wrote: > Thanks Philippe, > > It's now no longer failing, however the input filter is not returning an