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

NAME

App::Wubot::Reactor::SetField - set one or more fields on the message to a configured value

VERSION

version 0.3.3

SYNOPSIS

  - name: set x to 123
    plugin: SetField
    config:
      field: x
      value: 123


  - name: set x to 123, y to 456, and z to 789
    plugin: SetField
    config:
      set:
        x: 123
        y: 456
        z: 789

SUBROUTINES/METHODS

react( $message, $config )

The standard reactor plugin react() method.