Andrew Sterling Hanenkamp > Form-Factory-0.020 > Form::Factory::Feature::Control::Trim

Download:
Form-Factory-0.020.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.020   Source  

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.

syntax highlighting: