NAME

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

VERSION

version 0.020

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

Copyright 2009 Qubling Software LLC.

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.