http://www.perlmonks.org?node_id=372727

EvdB has asked for the wisdom of the Perl Monks concerning the following question:

Before commiting files to my CVS repository I would like some checks to be run:
# Todo before commiting for *.pl, *.pm, *.PL perl -c $file perltidy -b $file ./Build test
I seem to remember that this can be done but cannot find anything here or on Google that helps. I'm probably not using the right jargon. Does anyone have a way to do this and are there other things that should be done before a commit?

update: Sod's law: Automating tests before a CVS commit. Still interested in other things that could/should be done before a commit.

--tidiness is the memory loss of environmental mnemonics