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

NAME

DDG::Meta::Block - Inject keywords to make a DDG::Block::Blockable plugin

VERSION

version 1017

DESCRIPTION

EXPORTS FUNCTIONS

triggers_block_type

Gives back the block type for this plugin

get_triggers

has_triggers

Gives back if the plugin has triggers at all

triggers

Adds a new trigger. Possible parameter are block specific, so see DDG::Block::Words or DDG::Block::Regexp for more informations.

METHODS

apply_keywords

Uses a given classname to install the described keywords.

It also adds the role DDG::Block::Blockable to the target classname.

AUTHOR

DuckDuckGo <open@duckduckgo.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by DuckDuckGo, Inc. https://duckduckgo.com/.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004