Do this

svn checkout https://svn.apache.org/repos/asf/perl/modperl/trunk/ mod_perl-2.0

cd mod_perl-2.0

perl Makefile.PL MP_APXS=/usr/local/Cellar/httpd24/2.4.25/bin/apxs

# this doesn't do anything but it tells you where 
# apxs will put mod_perl.so
/usr/local/Cellar/httpd24/2.4.25/bin/apxs -q LIBEXECDIR

make

# this will fail when trying to start httpd
# but mod_perl still seems to work
make test 

make install

brew services restart httpd24

To Test
Create a file with perl in it and copy to a cgi-bin directory in your website…

#!/usr/bin/env perl
#

print "\n\n";

print "Hello world\n";

You may have to run cpan and install missing modules when you start using mod_perl check your Apache access.log or error.log