in reply to RFC: configure.pl
check this out first, found it today and it seems a great place to start. Module::Build