Yoshifumi and slightly modified by me. Class::Trigger is a mixin class to add / call triggers (or hooks) that get called at some points you specify.