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

NAME

Form::Base - Base class for other Form classes

SYNOPSIS

DESCRIPTION

This provides a base class for Form classes that need attributes that can be set either as class or instance methods. This is really a standalone CPAN module waiting to escape once we decide it's a sensible approach to things.

METHODS

mk_attributes

        __PACKAGE__->mk_attributes(qw/ decorators fields name /);

Any subclass which wishes to have other attributes that follow this same pattern (inheritiable class data which gets copied into instance data when a form is created), can set them up using mk_attributes.