The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Wubot::Reactor::Dumper - display the contents of a field or an entire message

VERSION

version 0.3.8

SYNOPSIS

  - name: dump message contents to stdout
    plugin: Dumper

  - name: display contents of message field 'x'
    plugin: Dumper
    config:
      field: x

DESCRIPTION

Display the contents of a message field to stdout. This is primary intended as a debugging tool, e.g. to see how a message looks at some point in the rule tree.

If no configuration is specified, then the entire message will be displayed to stdout using YAML::Dump. If a field is specified in the config, then the contents of that field will be dumped using YAML::Dump.

SUBROUTINES/METHODS

react( $message, $config )

The standard reactor plugin react() method.