The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

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

VERSION

version 0.3.10

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.