in reply to PERL build using unit test and static analysis
Read these, and the documents they link
Good luck