[perl #52000] use PL_exit_flags in the test so it works non-threaded
Refactor ext/Pod-Functions/Functions_pm.PL to use Test::More instead of making TAP by hand.