HTML::...ssword(3pm)
π HTML::FormHandler::Field::Password(3pm)
okay bestie, so you're looking at <pink>HTML::...ssword(3pm)</pink> β that's the HTML::FormHandler::Field::Password manual page, straight out of the User Contributed Perl Documentation section. she's a perl manpage and she's here to explain the password field. let's go β¨
π NAME π
HTML::FormHandler::Field::Password β it's the password field, periodt. π
πΈ VERSION πΈ
this baby is at version 0.40068 π¦
β¨ DESCRIPTION β¨
okay so here's the tea π β the password field ships with a default minimum length of 6, and changing it is genuinely so easy:
has_field 'password' => ( type => 'Password', minlength => 7 );
that's it. that's the whole vibe check. π
It does not come with any additional default checks, and honestly? valid. because password requirements vary so widely across apps that guessing would be a mess. π
That said, there are a few constraints chilling in the HTML::FormHandler::Types modules that you could use with this field: NoSpaces, WordChars, NotAllDigits. you can drop these into the field definition's 'apply' like this:
use HTML::FormHandler::Types ('NoSpaces', 'WordChars', 'NotAllDigits' );
...
has_field 'password' => ( type => 'Password',
apply => [ NoSpaces, WordChars, NotAllDigits ],
);
and like β you can absolutely add your own constraints in addition, of course. custom is iconic, no cap. π
π«Ά big one: if a password field is not required, then the field will be marked'noupdate', to prevent anullfrom being saved into the database. she's protecting your DB. respect her.
π ne_username π
set this attribute to the name of your username field (default 'username') if you want to check that the password is not the same as the username. because password = username is a crime and she's not letting it slide. π
It does not check by default. so you gotta opt in, iykyk.
π AUTHOR π
FormHandler Contributors β see HTML::FormHandler π
π§ COPYRIGHT AND LICENSE π§
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. slay. π
β¨ and that's the page, bestie β¨ β filed under perl v5.34.0, dated 2022-03-25, in classic HTML::...ssword(3pm) fashion. go forth and hash responsibly π
π₯
π¦ where this page comes from
- debian bookworm: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms