Do this

svn checkout 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
/usr/local/Cellar/httpd24/2.4.25/bin/apxs -q LIBEXECDIR


# 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