NAME

App::Wubot::Reactor::HashLookup - map the value of one field to a value for another using a lookup table

VERSION

version 0.5.0

SYNOPSIS

- name: look up nicknames for friends
  plugin: HashLookup
  config:
    source_field: username
    target_field: nickname
    lookup:
      lebowski: dude
      someguy: nickname
      john.smith: john

DESCRIPTION

Look up the value for a target field in a configured hash using the value of another field as the key.

SUBROUTINES/METHODS

react( $message, $config )

The standard reactor plugin react() method.