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

NAME

Froody::Argument - Froody argument type handler

DESCRIPTION

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.

METHODS

Froody::Argument plugins are required to implement the following methods:

type

The name of the type

process($param_value, $check_callback)

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.

add_path($module name)

Register a new set of type handlers under the path indicated by $module name.

AUTHORS

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.