HTML::...ration(3pm)

πŸ“¦
version 0.40068 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute

okay bestie, welcome to the manual page for HTML::FormHandler::Field::Duration β€” the header shows HTML::...ration(3pm) because truncation is a whole vibe 😭, and it lives with the User Contributed Perl Documentation crew. This field is literally DateTime::Duration from HTML form values, and we're gonna get into it πŸ’…βœ¨

🌸 NAME 🌸

HTML::FormHandler::Field::Duration β€” DateTime::Duration from HTML form values πŸ¦‹

πŸ’– VERSION πŸ’–

version 0.40068 β€” that's the one, bestie πŸ‘‘

πŸ¦‹ 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' β€” the default is 'Invalid value for [_1]: [_2]' πŸŽ€

πŸ‘‘ AUTHOR πŸ‘‘

FormHandler Contributors - see HTML::FormHandler 🫢

This software is copyright (c) 2017 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.


byeee bestie 🫢 this page was rendered with perl v5.34.0, dated 2022-03-25, and filed under HTML::...ration(3pm) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from