Class::Trigger is a mixin class to add / call triggers (or hooks) that get called at some points you specify. WWW: https://metacpan.org/release/Class-Trigger