in reply to mod_perl input filter error

Partly resolved, but another issue has popped up.
sub input { my $r = shift;
must be:
sub input { my $f = shift; my $r = $f->r;
However, I'm now getting the following error and the process SEGVs:
-e: Deep recursion on subroutine "ZCRM::OFilter::input" at /opt/code/Z +CRM/OFilter.pm line 42.
and line 42 corresponds to:
$r->input_filters->get_brigade( $bb, Apache2::Const::MODE_READBYTES, APR::Const::BLOCK_READ, IOBUFSIZE );
I've googled around without success. Damnation.
edit
Hate it when sample code copy/pasted from a reputable source fails like this https://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_input_filters_

Replies are listed 'Best First'.
Re^2: mod_perl input filter error
by Anonymous Monk on Jun 20, 2016 at 10:04 UTC

    :D look for "input" in your source code, you have ->input-> instead of ->input_ or something similar