The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Form::Tiny::Inline - Form::Tiny without hassle

SYNOPSIS

        my $form = Form::Tiny::Inline->new(
                field_defs => [
                        {name => "some_field"},
                        ...
                ],
        );

DESCRIPTION

Inline forms are designed to cover all the base use cases, but they are not as customizable. Currently, they lack the ability to specify your own pre_mangle and pre_validate methods.

METHODS

is

When ran on a Form::Tiny::Inline class, it produces a new class that will have all the given roles mixed in. Given role names will be prepended with Form::Tiny::

        $class_with_roles = Form::Tiny::Inline->is("Filtered", "Strict");