package Blacknote::Mods::Testmod; use Blacknote::Logging; use Class::Interface; implements("Blacknote::IMod"); sub instance {} sub init {DEBUG "Initializing mod"} sub update {DEBUG "Update function inside mod"} sub fini {DEBUG "Tear-down of mod"} sub turnstart {DEBUG "Function ran before the start of a turn"} sub turn {DEBUG "Function ran during a turn"} sub turnend {DEBUG "Function ran after turn function"} __PACKAGE__; .