Man pages sections > man3 > HTML::FormHandler::Field::Duration

HTML::FormHandler::Field::Duration - DateTime::Duration from HTML form values

HTML::FormHandler::Field::Duration(3pm) User Contributed Perl Documentation HTML::FormHandler::Field::Duration(3pm)

NAME

HTML::FormHandler::Field::Duration - DateTime::Duration from HTML form values

VERSION

version 0.40067

SubFields

Subfield names:
  years, months, weeks, days, hours, minutes, seconds, nanoseconds
For example:
   has_field 'duration'         => ( type => 'Duration' );
   has_field 'duration.hours'   => ( type => 'Hour' );
   has_field 'duration.minutes' => ( type => 'Minute' );
Customize error message 'duration_invalid' (default 'Invalid value for [_1]: [_2]')

AUTHOR

FormHandler Contributors - see HTML::FormHandler This software is copyright (c) 2016 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2016-10-21 perl v5.24.1