I just had to start looking at Acme modules : http://search.cpan.org/src/OVID/Acme-Code-Police-2.1828/Police.pm