| Froody::Argument - Froody argument type handler |
Froody::Argument - Froody argument type handler
If you want to register a new type handler with Froody, create a module in the Froody::Argument::* namespace. It will automagically be registered with the type handler framework.
Froody::Argument plugins are required to implement the following methods:
The name of the type
Handles validation for a given type. If there's a possiblity of
failure, the $check_callback should be called. It takes two
arguments - a test value (a true value for passing), and
a message which describes how the value failed type validation.
Register a new set of type handlers under the path indicated by
$module name.
Copyright Fotango 2006. All rights reserved.
Please see the main Froody documentation for details of who has worked on this project.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Froody::Argument - Froody argument type handler |