When a scrip is activated, it executes a template. Most templates turn into email messages, using the Text::Template module, but since you can embed Perl in them, they can do just about anything.