SVN pre-commit example

runrig on 2006-07-19T18:38:15

I was looking for a perl example of a Subversion pre-commit hook script similar to a python example that commits based on file name and contents, but couldn't find any, so I've started my own. Although it seems to work, I have doubts about the subclassed methods in my SVN::Delta::Editor subclass since I was just copying the python, and I'm not at all sure I've got the args or the return values right (or if it matters). It'd be nice if someone who knows more about the subject (like clkao maybe? :-) would look at it and give some pointers, so that this could become a "good" example.