A module that works with Mason to do processing before Mason is invoked. perl Build.PL ./Build ./Build test ./Build install