Angerwhale::Content::FilterFactory - load filters and return the filter subs
This module loads the Article filters in Angerwhale::Content::Filter and returns an initialized filter subroutine.
Create a new FilterFactory for Angerwhale application $application.
$application
Returns initialized filter subroutines for each class mentioned in @names. The Angerwhale::Content::Filter:: part is tacked on to the beginning of anything you pass.
@names
An exception will be thrown if the entry in @names can't be loaded or doesn't return a proper filter.
Jonathan Rockway
Implement an available_filters method
allow "foo" instead of Angerwhale::Content::Filter::Foo
To install Angerwhale, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Angerwhale
CPAN shell
perl -MCPAN -e shell install Angerwhale
For more information on module installation, please visit the detailed CPAN module installation guide.