App::SpamcupNG::Warning::Factory - a factory design pattern to create warnings.
use App::SpamcupNG::Warning::Factory qw(create_warning);
This is a factory to create warnings.
It should be used instead of creating new instances manually.
Only create_warning is exported by request.
Creates a new instance of App::SpamcupNG::Warning or one of it's subclasses.
Expects as parameters an array reference with the warning message lines.
Returns the instance.
Alceu Rodrigues de Freitas Junior, <email@example.com>
This software is copyright (c) 2018 of Alceu Rodrigues de Freitas Junior, <firstname.lastname@example.org>
This file is part of App-SpamcupNG distribution.
App-SpamcupNG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
App-SpamcupNG is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with App-SpamcupNG. If not, see <http://www.gnu.org/licenses/>.
To install App::SpamcupNG, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.