WWW::M...:Chars(3pm)
β¨ NAME β¨
WWW::Mechanize::FormFiller::Value::Random::Chars β bestie, this is a Perl module (manual section 3pm, User Contributed Perl Documentation, no less π
) and its whole entire job is filling random characters into an HTML form field. That's it. That's the gig. And it ate. π
πΈ SYNOPSIS πΈ
okay so here's how you actually use it, copy-paste friendly, no cap:
use WWW::Mechanize::FormFiller;
use WWW::Mechanize::FormFiller::Value::Random::Chars;
my $f = WWW::Mechanize::FormFiller->new();
# Create a random value for the HTML field "login"
my $login = WWW::Mechanize::FormFiller::Value::Random::Chars->new(
login => set => 'alpha', min => 3, max => 8 );
$f->add_value( login => $login );
# Alternatively take the following shorthand, which adds the
# field to the list as well :
# If there is no password, put a random one out of the list there
my $password = $f->add_filler( password => 'Random::Chars' );
the shorthand at the bottom is lowkey the main character β one line and your field is in the list AND filled. obsessed. π«Ά
π¦ DESCRIPTION π¦
So basically this class gives you a way to write a randomly chosen value into a HTML field. Random value goes in, chaos is managed, everyone slays. β¨
π new NAME, LIST
Creates a new value which will correspond to the HTML field "NAME". The "LIST" is the list of arguments passed to Data::Random::rand_chars. And if you hand it an empty list β no args, nothing, empty β then set => 'alpha', min => 5, max => 8 is just assumed. Like it's got a default fit ready to go. π
π name [NEWNAME]
Gets and sets the name of the HTML field this value corresponds to. Read it, write it, whatever you need bestie. π
π value FIELD
Returns the value to put into the HTML field. That's the whole thing. It gives you the value. Periodt. π
π§ EXPORT
None by default. Like, don't expect anything to come flying out of here for free. Nothing. Zero. Zip. π
π COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2002,2003 Max Maischein
(yes, TWO years in the copyright line, 2002 and 2003, and we're respecting both of them, we don't round up around here β¨)
π AUTHOR π
Max Maischein, <corion@cpan.org>
Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome !
fr fr, if you find a bug, tell him. And if you write more tests?? literal hero behavior. π«Ά
β SEE ALSO β
go read these too, they're all part of the same little universe:
Data::RandomWWW::MechanizeWWW::Mechanize::ShellWWW::Mechanize::FormFillerWWW::Mechanize::FormFiller::Value::ValueWWW::Mechanize::FormFiller::Value::DefaultWWW::Mechanize::FormFiller::Value::FixedWWW::Mechanize::FormFiller::Value::Interactive
and that's the whole page bestie!! π this little legend shipped as perl v5.34.0, dated 2022-08-20, and honestly? iconic. go fill some forms. random chars only. mwah. πβ¨π¦π
π¦ where this page comes from
- debian bookworm: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms