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

NAME

Form::Factory::Feature::Control::Trim - Trims whitespace from a control value

VERSION

version 0.022

SYNOPSIS

  has_control title => (
      control => 'text',
      features => {
          trim => 1,
      },
  );

DESCRIPTION

Strips whitespace from the front and back of the given values.

METHODS

check_control

Reports an error unless the control is a scalar value.

clean

Strips whitespace from the start and end of the control value.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Qubling Software LLC.

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