Perl 5 module to log events to an array
