Perl translatiion of Node.js's EventEmitter