Scroll to navigation

Email::MIME::Kit::Role::Validator(3pm) User Contributed Perl Documentation Email::MIME::Kit::Role::Validator(3pm)

NAME

Email::MIME::Kit::Role::Validator - things that validate assembly parameters

VERSION

version 3.000008

PERL VERSION

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

IMPLEMENTING

This role also performs Email::MIME::Kit::Role::Component.

Classes implementing this role are used to validate that the arguments passed to "$mkit->assemble" are valid. Classes must provide a "validate" method which will be called with the hashref of values passed to the kit's "assemble" method. If the arguments are not valid for the kit, the "validate" method should raise an exception.

AUTHOR

Ricardo Signes <cpan@semiotic.systems>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2023-09-20 perl v5.36.0